mirror of
https://github.com/mathuo/dockview
synced 2025-02-15 21:05:45 +00:00
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:
commit
3c45c962b2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user