Merge pull request #4681 from PerBothner/dom-selection
Fix bug in selection handling in dom renderer
This commit is contained in:
@@ -166,11 +166,11 @@ export class DomRendererRowFactory {
|
|||||||
cellAmount
|
cellAmount
|
||||||
&& (
|
&& (
|
||||||
(isInSelection && oldIsInSelection)
|
(isInSelection && oldIsInSelection)
|
||||||
|| (!isInSelection && cell.bg === oldBg)
|
|| (!isInSelection && !oldIsInSelection && cell.bg === oldBg)
|
||||||
)
|
)
|
||||||
&& (
|
&& (
|
||||||
(isInSelection && oldIsInSelection && colors.selectionForeground)
|
(isInSelection && oldIsInSelection && colors.selectionForeground)
|
||||||
|| (!(isInSelection && oldIsInSelection && colors.selectionForeground) && cell.fg === oldFg)
|
|| cell.fg === oldFg
|
||||||
)
|
)
|
||||||
&& cell.extended.ext === oldExt
|
&& cell.extended.ext === oldExt
|
||||||
&& isLinkHover === oldLinkHover
|
&& isLinkHover === oldLinkHover
|
||||||
|
|||||||
Reference in New Issue
Block a user