summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/raw/allapps.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs
index 312800fc4..e28ab0a79 100644
--- a/res/raw/allapps.rs
+++ b/res/raw/allapps.rs
@@ -389,9 +389,12 @@ main(int launchID)
// icons & labels
int iconCount = state->iconCount;
g_PosMax = ((iconCount + 3) / 4) - 4;
+ if (getWidth() > getHeight()) {
+ g_PosMax -= 2;
+ }
if (g_PosMax < 0) g_PosMax = 0;
- updatePos(0.1f);
+ updatePos();
updateReadback();
//debugF(" draw g_PosPage", g_PosPage);