Put things out of loop

This commit is contained in:
jpirnay
2026-04-08 14:43:16 +02:00
parent 07906853d6
commit e719d3d457
4 changed files with 12 additions and 27 deletions
+1 -4
View File
@@ -114,10 +114,7 @@ void TxtReaderActivity::onExit() {
Activity::onExit();
// Reset orientation back to portrait for the rest of the UI
{
RenderLock lock(*this);
renderer.setOrientation(GfxRenderer::Orientation::Portrait);
}
renderer.setOrientation(GfxRenderer::Orientation::Portrait);
pageOffsets.clear();
currentPageLines.clear();