recalculate zoom when toggling flipping mode

This commit is contained in:
chrox
2013-04-20 16:15:50 +08:00
parent ac548d768c
commit d505f39c79

View File

@@ -158,6 +158,7 @@ function ReaderPaging:onToggleFlipping()
end
self.ui:handleEvent(Event:new("SetFlippingMode", self.flipping_mode))
self.ui:handleEvent(Event:new("SetHinting", not self.flipping_mode))
self.ui:handleEvent(Event:new("ReZoom"))
UIManager:setDirty(self.view.dialog, "partial")
end