mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix wrong xpointer when changing screen orientation
This commit is contained in:
@@ -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.
|
||||
--]]
|
||||
|
||||
Reference in New Issue
Block a user