remove auto "contentwidth" in landscape

This should fix #365.
This commit is contained in:
chrox
2013-11-29 17:18:50 +08:00
parent d45aa2d304
commit 153d0866d5

View File

@@ -436,10 +436,6 @@ function ReaderView:onSetScreenMode(new_mode, rotation)
self.ui:handleEvent(Event:new("SetDimensions", Screen:getSize()))
end
self.cur_rotation_mode = Screen.cur_rotation_mode
if new_mode == "landscape" and self.document.info.has_pages then
self.ui:handleEvent(Event:new("SetZoomMode", "contentwidth"))
end
return true
end