summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/cyanogenmod/trebuchet/Hotseat.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Hotseat.java b/src/com/cyanogenmod/trebuchet/Hotseat.java
index d5fd0ecc2..adf6e9de8 100644
--- a/src/com/cyanogenmod/trebuchet/Hotseat.java
+++ b/src/com/cyanogenmod/trebuchet/Hotseat.java
@@ -123,6 +123,16 @@ public class Hotseat extends PagedView {
return (mIsLandscape && mTransposeLayoutWithOrientation);
}
+ @Override
+ protected boolean hitsPreviousPage(float x, float y) {
+ return !hasVerticalHotseat() && super.hitsPreviousPage(x, y);
+ }
+
+ @Override
+ protected boolean hitsNextPage(float x, float y) {
+ return !hasVerticalHotseat() && super.hitsNextPage(x, y);
+ }
+
/* Get the orientation invariant order of the item in the hotseat for persistence. */
int getOrderInHotseat(int x, int y) {
return hasVerticalHotseat() ? (mCellCount - y - 1) : x;