ReaderRolling: fix marker sometimes not removed

Noticed when jump to a footnote and quickly going back.
pull/9255/head
poire-z 2 years ago
parent b7a27a3db3
commit 38bd2b4c46

@ -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

Loading…
Cancel
Save