mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
Fixing insets mapping in 3-button and 2-button mode
Bug: 131360075 Change-Id: If6e3a4fbb011fc313efeb91686a9d787761862c5
This commit is contained in:
@@ -302,7 +302,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
|
||||
rotationMode.mapRect(padding, mTempRect);
|
||||
setPadding(mTempRect.left, mTempRect.top, mTempRect.right, mTempRect.bottom);
|
||||
rotationMode.mapRect(insets, mInsets);
|
||||
rotationMode.mapRect(stableGrid.getInsets(), mInsets);
|
||||
|
||||
if (mWorkspaceFadeInAdjacentScreens) {
|
||||
// In landscape mode the page spacing is set to the default.
|
||||
|
||||
Reference in New Issue
Block a user