fix wrong xpointer when changing screen orientation

This commit is contained in:
chrox
2014-02-02 00:18:06 +08:00
parent b42b4ed204
commit 19b3d10d8c
2 changed files with 6 additions and 1 deletions

View File

@@ -321,6 +321,11 @@ function ReaderRolling:onSetDimensions()
end
end
function ReaderRolling:onChangeScreenMode(mode)
self.ui:handleEvent(Event:new("SetScreenMode", mode))
self:onChangeViewMode()
end
--[[
PosUpdate event is used to signal other widgets that pos has been changed.
--]]