Add fix for flashing during dragging and resize drag box (#2451)

* add fix for flashing during dragging and resize drag box

* remove unnecessary code
This commit is contained in:
Anthony Dresser
2018-09-07 11:08:14 -07:00
committed by GitHub
parent ba91140ea5
commit 0f2442a7a5
2 changed files with 18 additions and 1 deletions

View File

@@ -308,10 +308,15 @@ export class Table<T extends Slick.SlickData> extends Widget implements IThemabl
if (styles.listHoverBackground) {
content.push(`.monaco-table.${this.idPrefix} .slick-row:hover { background-color: ${styles.listHoverBackground}; }`);
// handle no coloring during drag
content.push(`.monaco-table.${this.idPrefix} .drag .slick-row:hover { background-color: inherit; }`);
}
if (styles.listHoverForeground) {
content.push(`.monaco-table.${this.idPrefix} .slick-row:hover { color: ${styles.listHoverForeground}; }`);
// handle no coloring during drag
content.push(`.monaco-table.${this.idPrefix} .drag .slick-row:hover { color: inherit; }`);
}
if (styles.listSelectionOutline) {