KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui
This commit is contained in:
1 parent
3d1b954f52
commit
952ebafe2d
6 files changed
+48
-20
No files matched your search
@@ -94,7 +94,7 @@ end
|
||||
function HotKeys:onHotkeyAction(hotkey)
|
||||
-- Note: we could have started text selection and then trigger a reflow through hotkeys (e.g., increase
|
||||
-- font-size) which will cause pandemonium to ensue (invalid coordinates).
|
||||
if self.ui.keyselection then self.ui.keyselection:onStopHighlightIndicator(true) end
|
||||
if self.ui.keyselection then self.ui.keyselection:stopHighlightIndicator(true) end
|
||||
local hotkey_action_list = self.hotkeys[hotkey]
|
||||
local context = self.is_docless and "FileManager" or "Reader"
|
||||
if hotkey_action_list == nil then
|
||||
|
||||
Reference in new issue
Block a user