Fix initial cursor watcher polling state

This commit is contained in:
2026-09-05 16:07:55 +02:00
parent 641c40dd58
commit 16b10313f3
+3 -1
View File
@@ -13,7 +13,9 @@ local originalCursorOnEvent = nil
local originalCursorOnUpdate = nil
local cursorUpdateWrapper = nil
local cursorEventWrapper = nil
local cursorPollingEnabled = false
-- ItemButton.lua creates the watcher with OnUpdate already active. Mirror that
-- real initial state so the first idle RefreshCursorPolling() can disable it.
local cursorPollingEnabled = true
local glowDrivers = {}
local glowDriverCount = 0