From d08516bd8959cf1019eb700ea3f63a1f2a51c72e Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 18 Sep 2019 11:13:51 +0200 Subject: [PATCH] Fix: footer offset when orientation changes (#5396) Fix: #5395 --- frontend/apps/reader/modules/readerfooter.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/apps/reader/modules/readerfooter.lua b/frontend/apps/reader/modules/readerfooter.lua index ecb7325b0..b7a52dc6f 100644 --- a/frontend/apps/reader/modules/readerfooter.lua +++ b/frontend/apps/reader/modules/readerfooter.lua @@ -1226,4 +1226,9 @@ function ReaderFooter:onFrontlightStateChanged() end end +function ReaderFooter:onChangeScreenMode() + self:updateFooterContainer() + self:resetLayout(true) +end + return ReaderFooter