From 49a7a13c34eb7da7fbd23830635070bf2a940f86 Mon Sep 17 00:00:00 2001 From: abose Date: Fri, 17 Jan 2025 16:45:49 +0530 Subject: [PATCH] fix: gap in color gutter in active line on first boot --- src/extensionsIntegrated/CSSColorPreview/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extensionsIntegrated/CSSColorPreview/main.js b/src/extensionsIntegrated/CSSColorPreview/main.js index 1ac6a499c3..e5b03b5c5e 100644 --- a/src/extensionsIntegrated/CSSColorPreview/main.js +++ b/src/extensionsIntegrated/CSSColorPreview/main.js @@ -248,6 +248,8 @@ define(function (require, exports, module) { if (activeEditor) { activeEditor.off("change", onChanged); activeEditor.on("change", onChanged); + activeEditor.off("cursorActivity.colorPreview"); + activeEditor.on("cursorActivity.colorPreview", _cursorActivity); showColorMarks(); _cursorActivity(null, activeEditor); }