mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
am af5b4cb2: Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
Merge commit 'af5b4cb27709e2e3d6c419e81ac87363e701ce5d' into eclair-mr2 * commit 'af5b4cb27709e2e3d6c419e81ac87363e701ce5d': Fix 2305903 Scrolling trackball upwards at the top of the app menu selects app at the bottom left
This commit is contained in:
@@ -368,8 +368,8 @@ public class AllAppsView extends RSSurfaceView
|
||||
} else if (currentTopRow > 0) {
|
||||
newSelection = currentSelection - Defines.COLUMNS_PER_PAGE;
|
||||
mRollo.moveTo(newSelection / Defines.COLUMNS_PER_PAGE);
|
||||
} else {
|
||||
newSelection = Defines.COLUMNS_PER_PAGE * (Defines.ROWS_PER_PAGE-1);
|
||||
} else if (currentPageRow != 0) {
|
||||
newSelection = currentTopRow * Defines.ROWS_PER_PAGE;
|
||||
}
|
||||
}
|
||||
handled = true;
|
||||
|
||||
Reference in New Issue
Block a user