fix: uncalled for autohide timer triggering on init

This commit is contained in:
tomasklaen
2023-04-10 22:24:13 +02:00
parent e1b663f930
commit a0b18eabec
2 changed files with 5 additions and 4 deletions

View File

@@ -108,7 +108,6 @@ end
-- Disabled elements don't receive these events.
---@param name string Event name.
function Elements:proximity_trigger(name, ...)
local stop_normal, stop_global = false, false
for i = #self.itable, 1, -1 do
local element = self.itable[i]
if element.enabled then