KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui

This commit is contained in:
Commodore64user authored and Frans de Jonge committed 2026-05-27 14:21:26 +02:00
1 parent 3d1b954f52
commit 952ebafe2d
6 files changed
+48 -20

No files matched your search

+1 -1
View File
@@ -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