mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
return true in event handlers
we should do that when we know a event handler is only used in that widget
This commit is contained in:
@@ -140,6 +140,7 @@ end
|
||||
function ReaderFont:onToggleFontBolder()
|
||||
self.ui.document:toggleFontBolder()
|
||||
self.ui:handleEvent(Event:new("UpdatePos"))
|
||||
return true
|
||||
end
|
||||
|
||||
function ReaderFont:onCloseDocument()
|
||||
|
||||
Reference in New Issue
Block a user