mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge remote-tracking branch 'hwhw/master'
This commit is contained in:
@@ -575,6 +575,15 @@ function UniReader:inputloop()
|
||||
break
|
||||
end
|
||||
|
||||
-- switch to ZOOM_BY_VALUE to enable panning on fiveway move
|
||||
if ev.code == KEY_FW_LEFT
|
||||
or ev.code == KEY_FW_RIGHT
|
||||
or ev.code == KEY_FW_UP
|
||||
or ev.code == KEY_FW_DOWN
|
||||
then
|
||||
self.globalzoommode = self.ZOOM_BY_VALUE
|
||||
end
|
||||
|
||||
if self.globalzoommode == self.ZOOM_BY_VALUE then
|
||||
local x
|
||||
local y
|
||||
|
||||
Reference in New Issue
Block a user