mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Widget resizing obeys minResizeWidth/Height
Change-Id: I42c8fa118b4d45ce88b4f2b724643bf471d62cd2
This commit is contained in:
@@ -77,7 +77,7 @@ public class AppWidgetResizeFrame extends FrameLayout {
|
||||
mWorkspace = (Workspace) dragLayer.findViewById(R.id.workspace);
|
||||
|
||||
final AppWidgetProviderInfo info = widgetView.getAppWidgetInfo();
|
||||
int[] result = mCellLayout.rectToCell(info.minWidth, info.minHeight, null);
|
||||
int[] result = mCellLayout.rectToCell(info.minResizeWidth, info.minResizeHeight, null);
|
||||
mMinHSpan = result[0];
|
||||
mMinVSpan = result[1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user