Skip to content

Commit

Permalink
Make left click ignored when focused obey duration
Browse files Browse the repository at this point in the history
  • Loading branch information
natural-harmonia-gropius authored Jan 30, 2024
1 parent b5448b2 commit 2652786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputevent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ function on_focused_update(_, focused)
return
end

binding:ignore("click", 100)
binding:ignore("click", binding.duration)
end

mp.register_script_message("bind", bind)
Expand Down

0 comments on commit 2652786

Please sign in to comment.