mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
HOME - filechooser, Shift/Alt+Home - exits closes #34
This seems more logical to me, because accidental exit is really bad and requires several keypresses and wait for reader to start again.
This commit is contained in:
@@ -562,8 +562,10 @@ function UniReader:inputloop()
|
||||
elseif ev.code == KEY_K then
|
||||
self:setrotate( self.globalrotate - 10 )
|
||||
elseif ev.code == KEY_HOME then
|
||||
-- signal quit
|
||||
keep_running = false
|
||||
if Keys.shiftmode or Keys.altmode then
|
||||
-- signal quit
|
||||
keep_running = false
|
||||
end
|
||||
break
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user