Text editor: rotate (#12658)

This commit is contained in:
hius07
2024-10-29 20:49:43 +02:00
committed by GitHub
parent b42b9a8799
commit 97a7ebefb9
9 changed files with 127 additions and 153 deletions

View File

@@ -2454,11 +2454,11 @@ function ReaderFooter:onSwapPageTurnButtons()
end
ReaderFooter.onToggleReadingOrder = ReaderFooter.onSwapPageTurnButtons
function ReaderFooter:onSetRotationMode()
function ReaderFooter:onSetDimensions()
self:updateFooterContainer()
self:resetLayout(true)
end
ReaderFooter.onScreenResize = ReaderFooter.onSetRotationMode
ReaderFooter.onScreenResize = ReaderFooter.onSetDimensions
function ReaderFooter:onSetPageHorizMargins(h_margins)
if self.settings.progress_margin then