|
|
|
@ -658,7 +658,8 @@ function ReaderView:recalculate()
|
|
|
|
|
-- start from right of page_area
|
|
|
|
|
self.visible_area.x = self.page_area.x + self.page_area.w - self.visible_area.w
|
|
|
|
|
end
|
|
|
|
|
if self.document.configurable.zoom_direction >= 2 and self.document.configurable.zoom_direction <= 5 then -- zoom_bottom_to_top
|
|
|
|
|
-- Check if we are in zoom_bottom_to_top
|
|
|
|
|
if self.document.configurable.zoom_direction and self.document.configurable.zoom_direction >= 2 and self.document.configurable.zoom_direction <= 5 then
|
|
|
|
|
-- starts from bottom of page_area
|
|
|
|
|
self.visible_area.y = self.page_area.y + self.page_area.h - self.visible_area.h
|
|
|
|
|
else
|
|
|
|
|