mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Drag and drop preview size for BubbleTextView" into ub-launcher3-qt-future-dev
am: ecee887d1a
Change-Id: I546cfa34058c3dff49ebef4ddc24c0fb8ef0d77d
This commit is contained in:
@@ -1496,7 +1496,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
Rect dragRect = null;
|
||||
if (child instanceof BubbleTextView) {
|
||||
dragRect = new Rect();
|
||||
((BubbleTextView) child).getIconBounds(dragRect);
|
||||
BubbleTextView.getIconBounds(child, dragRect, grid.iconSizePx);
|
||||
dragLayerY += dragRect.top;
|
||||
// Note: The dragRect is used to calculate drag layer offsets, but the
|
||||
// dragVisualizeOffset in addition to the dragRect (the size) to position the outline.
|
||||
|
||||
Reference in New Issue
Block a user