ReaderRolling: fix marker sometimes not removed
Noticed when jump to a footnote and quickly going back.
This commit is contained in:
1 parent
b7a27a3db3
commit
38bd2b4c46
1 file changed
+1
@@ -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