commit | 552a608e3c07711602cbd7533b51dad529ac4397 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Mon Mar 15 12:12:53 2010 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Mar 15 12:12:53 2010 -0700 |
tree | 0b7c1869390838bdacd618da6bc5f701bd7fcb22 | |
parent | c16fea7161d6567071be1b9949fafbf6c89e5b52 [diff] | |
parent | cc903494fa4c31ffddc4a80361c4e43cd3ed4c2a [diff] |
Merge "Fix stop point for physics in landscape."
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs index 312800f..e28ab0a 100644 --- a/res/raw/allapps.rs +++ b/res/raw/allapps.rs
@@ -389,9 +389,12 @@ // 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);