Merge pull request #578 from qcz/td/swap-width-height

Set width and height correctly when calling layout for floating panels
This commit is contained in:
mathuo 2024-04-19 19:28:48 +01:00 committed by GitHub
commit 3c45c962b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();