fix early layout interfering with widget bounds/centering

This commit is contained in:
Stewart Allen 2020-12-04 10:49:34 -05:00
commit b34dc70944

View file

@ -1383,7 +1383,9 @@
function platformGroupDone(skipLayout) {
grouping = false;
Widget.Groups.loadDone();
if (feature.drop_layout && !skipLayout) platform.layout();
if (feature.drop_layout && !skipLayout) {
platform.layout();
}
}
function platformAdd(widget, shift, nolayout) {
@ -1404,8 +1406,6 @@
if (!settings.controller.autoLayout) {
positionNewWidget(widget);
}
} else if (feature.drop_layout) {
platform.layout();
}
}