Grid: remove unneeded arrange calls

This commit is contained in:
Peter Fajdiga
2023-08-15 22:25:24 +02:00
parent 5e9db7d2cd
commit 671326bdd7

View File

@@ -140,7 +140,6 @@ class Grid {
const scrollPos = this.container.getScrollPosForColumn(column);
if (this.width < scrollPos.width) {
column.adjustWidth(scrollPos.width - this.width, false);
this.container.arrange();
return;
}
@@ -170,7 +169,6 @@ class Grid {
const scrollPos = this.container.getScrollPosForColumn(column);
if (this.width <= scrollPos.width) {
column.setWidth(Math.round(column.getWidth() / 2), false);
this.container.arrange();
return;
}