Skip to content

Commit

Permalink
make mods variable local
Browse files Browse the repository at this point in the history
  • Loading branch information
kjslag authored and cmsj committed Jul 1, 2022
1 parent 07f6e89 commit 56361fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/window/window_switcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ end

local MODS_INTERVAL=0.05 -- recheck for (lack of) mod keys after this interval
local function modsPressed()
mods = checkMods(true)._raw
local mods = checkMods(true)._raw
return mods>0 and mods ~= 65536 -- caps lock
end
local function show(self,dir)
Expand Down

0 comments on commit 56361fe

Please sign in to comment.