mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
Kobo Aura Hd and Mini users get the error message:
/luajit: ./frontend/ui/gesturedetector.lua:84: attempt to concatenate field 'y' (a nil value) Hopefully the use of the "," in the DEBUG function instead of the string concatenate operator gets rid of it.
This commit is contained in:
parent
6465398731
commit
74e03bc615
@ -81,7 +81,7 @@ function GestureDetector:feedEvent(tevs)
|
|||||||
repeat
|
repeat
|
||||||
local tev = table.remove(tevs)
|
local tev = table.remove(tevs)
|
||||||
if tev then
|
if tev then
|
||||||
DEBUG("tev fed to GestureDetector|",tev.x.."|"..tev.y.."|"..tev.id.."|"..tev.slot.."|"..tev.timev.sec.."|"..tev.timev.usec)
|
DEBUG("tev fed to GestureDetector|",tev.x,"|",tev.y,"|",tev.id,"|",tev.slot,"|",tev.timev.sec,"|",tev.timev.usec)
|
||||||
local slot = tev.slot
|
local slot = tev.slot
|
||||||
if not self.states[slot] then
|
if not self.states[slot] then
|
||||||
self:clearState(slot) -- initiate state
|
self:clearState(slot) -- initiate state
|
||||||
|
Loading…
Reference in New Issue
Block a user