History: Don't flash when swapping documents

(i.e., when History is spawned from ReaderUI, delay the flash until we
*show* the next widget, instead of when we close the current RD
instance).

Prevents flashing the InfoMessage.
reviewable/pr7730/r1
NiLuJe 3 years ago
parent 2c4cbd12a2
commit 0e83551e8d

@ -502,7 +502,8 @@ function ReaderUI:onShowingReader()
self.tearing_down = true
self.dithered = nil
self:onClose()
-- Don't enforce a "full" refresh, leave that decision to the next widget we'll *show*.
self:onClose(false)
end
-- Same as above, except we don't close it yet. Useful for plugins that need to close custom Menus before calling showReader.

Loading…
Cancel
Save