Skip to content

Commit 36e551c

Browse files
committed
fix: gap in color gutter in active line on first boot
1 parent 818b908 commit 36e551c

File tree

1 file changed

+2
-0
lines changed
  • src/extensionsIntegrated/CSSColorPreview

1 file changed

+2
-0
lines changed

src/extensionsIntegrated/CSSColorPreview/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ define(function (require, exports, module) {
248248
if (activeEditor) {
249249
activeEditor.off("change", onChanged);
250250
activeEditor.on("change", onChanged);
251+
activeEditor.off("cursorActivity.colorPreview");
252+
activeEditor.on("cursorActivity.colorPreview", _cursorActivity);
251253
showColorMarks();
252254
_cursorActivity(null, activeEditor);
253255
}

0 commit comments

Comments
 (0)