Skip to content

Commit

Permalink
fix: forwarding keybinds sometimes crashing
Browse files Browse the repository at this point in the history
closes #967
  • Loading branch information
tomasklaen committed Sep 1, 2024
1 parent 0f48df3 commit c183c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uosc/lib/cursor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function cursor:trigger(event, shortcut)
if forward_name then
-- Forward events if there was no handler.
local active = find_active_keybindings(forward_name)
if active then
if active and active.cmd then
local is_wheel = event:find('wheel', 1, true)
local is_up = event:sub(-3) == '_up'
if active.owner then
Expand Down

0 comments on commit c183c37

Please sign in to comment.