From 2c82cc3bbca1790a42245c0c50769a5f7abc9155 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 22 Nov 2017 02:51:06 +0300 Subject: [PATCH] fix glitching on highlighting of current token --- vendor-overwrites/colorpicker/colorview.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor-overwrites/colorpicker/colorview.js b/vendor-overwrites/colorpicker/colorview.js index 036fdf7a..ed149897 100644 --- a/vendor-overwrites/colorpicker/colorview.js +++ b/vendor-overwrites/colorpicker/colorview.js @@ -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) {