mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Fix stop point for physics in landscape.
Change-Id: I4ca8fcf9d65746116b3c244e724344d8f90eeba0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user