mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Input: Be more through in resetState (#10612)
Drop the actual slot data storage, in addition to the active references
This commit is contained in:
@@ -506,6 +506,15 @@ function Input:resetState()
|
||||
self.gesture_detector:resetClockSource()
|
||||
end
|
||||
self:clearTimeouts()
|
||||
|
||||
-- Drop the slots on our end, too
|
||||
self:newFrame()
|
||||
self.cur_slot = self.main_finger_slot
|
||||
self.ev_slots = {
|
||||
[self.main_finger_slot] = {
|
||||
slot = self.main_finger_slot,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
function Input:handleKeyBoardEv(ev)
|
||||
|
||||
Reference in New Issue
Block a user