mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
+1
-1
@@ -265,7 +265,7 @@ function FileSearcher:choose(ypos, height, keywords)
|
||||
openFile(file_full_path)
|
||||
|
||||
pagedirty = true
|
||||
elseif ev.code == KEY_BACK then
|
||||
elseif ev.code == KEY_BACK or ev.code == KEY_HOME then
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
echo unlock > /proc/keypad
|
||||
echo unlock > /proc/fiveway
|
||||
cd /mnt/us/kindlepdfviewer/
|
||||
|
||||
+1
-1
Submodule mupdf updated: ea671d1254...e7bb1c4937
+2
-2
@@ -697,7 +697,7 @@ function UniReader:inputloop()
|
||||
keep_running = false
|
||||
end
|
||||
break
|
||||
elseif ev.code == KEY_Z and not Keys.shiftmode then
|
||||
elseif ev.code == KEY_Z and not (Keys.shiftmode or Keys.altmode) then
|
||||
local bbox = {}
|
||||
bbox["x0"] = - self.offset_x / self.globalzoom
|
||||
bbox["y0"] = - self.offset_y / self.globalzoom
|
||||
@@ -715,7 +715,7 @@ function UniReader:inputloop()
|
||||
print("# bbox remove "..self.pageno .. dump(self.bbox));
|
||||
elseif ev.code == KEY_Z and Keys.altmode then
|
||||
self.bbox.enabled = not self.bbox.enabled;
|
||||
print("# bbox override "..self.bbox.enabled);
|
||||
print("# bbox override: ", self.bbox.enabled);
|
||||
end
|
||||
|
||||
-- switch to ZOOM_BY_VALUE to enable panning on fiveway move
|
||||
|
||||
Reference in New Issue
Block a user