mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ReaderRolling: fix marker sometimes not removed
Noticed when jump to a footnote and quickly going back.
This commit is contained in:
@@ -670,6 +670,7 @@ function ReaderRolling:onGotoXPointer(xp, marker_xp)
|
||||
end
|
||||
if self.unmark_func then
|
||||
-- execute scheduled unmark now to clean previous marker
|
||||
UIManager:unschedule(self.unmark_func)
|
||||
self.unmark_func()
|
||||
self.unmark_func = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user