From 715cd1e03dc07f2fdf24e0d0627c3c7602c3b8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tar=20D=C3=A1niel?= Date: Thu, 18 Apr 2024 11:41:00 +0200 Subject: [PATCH] Set width and height correctly when calling layout for floating panels --- packages/dockview-core/src/dockview/dockviewComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dockview-core/src/dockview/dockviewComponent.ts b/packages/dockview-core/src/dockview/dockviewComponent.ts index 14f5ea25c..cd85da0b4 100644 --- a/packages/dockview-core/src/dockview/dockviewComponent.ts +++ b/packages/dockview-core/src/dockview/dockviewComponent.ts @@ -979,7 +979,7 @@ export class DockviewComponent // this is either a resize or a move // to inform the panels .layout(...) the group with it's current size // don't care about resize since the above watcher handles that - group.layout(group.height, group.width); + group.layout(group.width, group.height); }), overlay.onDidChangeEnd(() => { this._bufferOnDidLayoutChange.fire();