mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Use taskbarSize as bottom inset when taskbar is present.
This was done in ag/13841736 but not included in ag/13821586 Test: QSB in correct position when taskbar present and not present Bug: 171917176 Change-Id: I6aa220559afebe8710b5f01cdec9c2baa9f4c926
This commit is contained in:
@@ -472,7 +472,7 @@ public class TaskbarController {
|
||||
public void alignRealHotseatWithTaskbar() {
|
||||
Rect hotseatBounds = new Rect();
|
||||
DeviceProfile grid = mLauncher.getDeviceProfile();
|
||||
int hotseatHeight = grid.workspacePadding.bottom + grid.getInsets().bottom;
|
||||
int hotseatHeight = grid.workspacePadding.bottom + grid.taskbarSize;
|
||||
int hotseatTopDiff = hotseatHeight - grid.taskbarSize;
|
||||
|
||||
mTaskbarView.getHotseatBoundsAtScale(getTaskbarScaleOnHome()).roundOut(hotseatBounds);
|
||||
|
||||
Reference in New Issue
Block a user