Merge "Use taskbarSize as bottom inset when taskbar is present." into sc-dev
This commit is contained in:
commit
4076cae87f
2 files changed
+3
-3
No files matched your search
@@ -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