bump ctrl scroll movements

This commit is contained in:
Noah Masur 2021-05-23 12:34:30 -04:00
parent 99a65576ff
commit 3a1f71b40f

View File

@ -46,7 +46,7 @@ function obj:init()
end end
-- Control was down and is up, hasn't been blocked by another key, and -- Control was down and is up, hasn't been blocked by another key, and
-- isn't above the movement threshold -- isn't above the movement threshold
elseif (self.sendEscape == true and not newModifiers['ctrl'] and self.movements < 12) then elseif (self.sendEscape == true and not newModifiers['ctrl'] and self.movements < 20) then
self.lastModifiers = newModifiers self.lastModifiers = newModifiers
-- Allow for shift-escape -- Allow for shift-escape
if newModifiers['shift'] then if newModifiers['shift'] then