fix glitching on highlighting of current token
This commit is contained in:
parent
7bae73bcb4
commit
2c82cc3bbc
|
@ -176,6 +176,7 @@
|
|||
if (el.colorpickerData && el.colorpickerData.color === data.color) {
|
||||
continue;
|
||||
}
|
||||
el.dataset.colorpicker = '';
|
||||
el.colorpickerData = Object.assign({line, ch: start}, data);
|
||||
let bg = el.firstElementChild;
|
||||
if (!bg) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user