mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Remove insets due to Taskbar, except on workspace elements
Test: go to all apps, ensure no bottom insets/limited nav bar protection; go to overview, ensure no extra bottom padding Bug: 171917176 Change-Id: I09dc589e1cb8d3b673bf2b38e42284557413e011
This commit is contained in:
@@ -310,6 +310,8 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
Rect padding = grid.workspacePadding;
|
||||
setPadding(padding.left, padding.top, padding.right, padding.bottom);
|
||||
mInsets.set(insets);
|
||||
// Increase our bottom insets so we don't overlap with the taskbar.
|
||||
mInsets.bottom += grid.nonOverlappingTaskbarInset;
|
||||
|
||||
if (mWorkspaceFadeInAdjacentScreens) {
|
||||
// In landscape mode the page spacing is set to the default.
|
||||
|
||||
Reference in New Issue
Block a user