decouple UI definitions from document modules
This commit is contained in:
1 parent
02eca23649
commit
9e57e56f95
9 files changed
+73
-24
No files matched your search
@@ -197,10 +197,10 @@ function ReaderUI:init()
|
||||
-- config panel controller
|
||||
self:registerModule("config", ReaderConfig:new{
|
||||
configurable = self.document.configurable,
|
||||
options = self.document.options,
|
||||
dialog = self.dialog,
|
||||
view = self.view,
|
||||
ui = self
|
||||
ui = self,
|
||||
document = self.document,
|
||||
})
|
||||
if self.document.info.has_pages then
|
||||
-- kopt option controller
|
||||
|
||||
Reference in new issue
Block a user