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
@@ -98,7 +98,7 @@ function ReaderHighlight:init()
|
||||
this:startSelection(index)
|
||||
this:onClose()
|
||||
if not Device:isTouchDevice() then
|
||||
self:onStartHighlightIndicator()
|
||||
self.ui.keyselection:startHighlightIndicator()
|
||||
end
|
||||
end,
|
||||
}
|
||||
@@ -1591,7 +1591,7 @@ function ReaderHighlight:onHold(arg, ges)
|
||||
with_title_bar = false, -- more room for image
|
||||
fullscreen = true,
|
||||
})
|
||||
self.ui.keyselection:onStopHighlightIndicator()
|
||||
self.ui.keyselection:stopHighlightIndicator()
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user