mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
disable hinting temporarily in config dialog and flipping mode and cropping dialog
Since hinting is of little use in these situations.
This commit is contained in:
@@ -15,6 +15,7 @@ require "ui/reader/readercropping"
|
||||
require "ui/reader/readerkopt"
|
||||
require "ui/reader/readercopt"
|
||||
require "ui/reader/readerscreenshot"
|
||||
require "ui/reader/readerhinting"
|
||||
|
||||
--[[
|
||||
This is an abstraction for a reader interface
|
||||
@@ -132,6 +133,14 @@ function ReaderUI:init()
|
||||
document = self.document,
|
||||
}
|
||||
table.insert(self, cropper)
|
||||
-- hinting controller
|
||||
local hinter = ReaderHinting:new{
|
||||
dialog = self.dialog,
|
||||
view = self[1],
|
||||
ui = self,
|
||||
document = self.document,
|
||||
}
|
||||
table.insert(self, hinter)
|
||||
else
|
||||
-- make sure we load document first before calling any callback
|
||||
table.insert(self.postInitCallback, function()
|
||||
|
||||
Reference in New Issue
Block a user