mirror of
https://github.com/mathuo/dockview
synced 2025-02-19 06:35: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
|
// this is either a resize or a move
|
||||||
// to inform the panels .layout(...) the group with it's current size
|
// to inform the panels .layout(...) the group with it's current size
|
||||||
// don't care about resize since the above watcher handles that
|
// 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(() => {
|
overlay.onDidChangeEnd(() => {
|
||||||
this._bufferOnDidLayoutChange.fire();
|
this._bufferOnDidLayoutChange.fire();
|
||||||
|
Loading…
Reference in New Issue
Block a user