mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Minor bug fixes
- Making the spring loaded side page hovers slightly faster - Fixing issue where you can't drag over another item on another page to create a portal - Ignoring side pages while hovering over hotseat - Fixing issue where hotseat may be stuck in shrunken state (and removing the scale on the hotseat) Change-Id: I87d50a1bdc451704285482c79caed0982a5a7f5a
This commit is contained in:
@@ -483,14 +483,14 @@ public class DragController {
|
||||
mScrollState = SCROLL_WAITING_IN_ZONE;
|
||||
mScrollRunnable.setDirection(SCROLL_LEFT);
|
||||
mHandler.postDelayed(mScrollRunnable, SCROLL_DELAY);
|
||||
mDragScroller.onEnterScrollArea(SCROLL_LEFT);
|
||||
mDragScroller.onEnterScrollArea(x, y, SCROLL_LEFT);
|
||||
}
|
||||
} else if (!inDeleteRegion && x > mScrollView.getWidth() - mScrollZone) {
|
||||
if (mScrollState == SCROLL_OUTSIDE_ZONE && mDistanceSinceScroll > slop) {
|
||||
mScrollState = SCROLL_WAITING_IN_ZONE;
|
||||
mScrollRunnable.setDirection(SCROLL_RIGHT);
|
||||
mHandler.postDelayed(mScrollRunnable, SCROLL_DELAY);
|
||||
mDragScroller.onEnterScrollArea(SCROLL_RIGHT);
|
||||
mDragScroller.onEnterScrollArea(x, y, SCROLL_RIGHT);
|
||||
}
|
||||
} else {
|
||||
if (mScrollState == SCROLL_WAITING_IN_ZONE) {
|
||||
|
||||
Reference in New Issue
Block a user