issue a full refresh when changing rotation

This commit is contained in:
Hans-Werner Hilse
2014-12-05 21:25:32 +00:00
parent 1a6dc93b99
commit 05503791b4

View File

@@ -558,6 +558,7 @@ function ReaderView:onSetScreenMode(new_mode, rotation)
else
Screen:setScreenMode(new_mode)
end
UIManager:setDirty(self.dialog, "full")
self.ui:handleEvent(Event:new("SetDimensions", Screen:getSize()))
self.ui:handleEvent(Event:new("InitScrollPageStates"))
end