Bound folders to overview panel instead of workspace
Since the workspace is scaled down in overview, the folders were moving too far from the hotseat. Change-Id: I3e8810f918436fec3a646abda9c147b688cb803b
This commit is contained in:
1 parent
15dc35ce3f
commit
b4b7e20ebc
2 files changed
+9
-3
No files matched your search
@@ -462,9 +462,9 @@ public class DeviceProfile {
|
||||
mInsets.top + availableHeightPx);
|
||||
} else {
|
||||
// Folders should only appear below the drop target bar and above the hotseat
|
||||
return new Rect(mInsets.left,
|
||||
return new Rect(mInsets.left + edgeMarginPx,
|
||||
mInsets.top + dropTargetBarSizePx + edgeMarginPx,
|
||||
mInsets.left + availableWidthPx,
|
||||
mInsets.left + availableWidthPx - edgeMarginPx,
|
||||
mInsets.top + availableHeightPx - hotseatBarSizePx
|
||||
- pageIndicatorSizePx - edgeMarginPx);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user