mirror of
https://github.com/mathuo/dockview
synced 2025-05-04 18:48:26 +00:00
bug: continue to check size change when force=
This commit is contained in:
parent
e86155adf4
commit
bdf286103f
@ -328,7 +328,7 @@ export abstract class BaseGrid<T extends IGridPanelView>
|
||||
|
||||
public layout(width: number, height: number, forceResize?: boolean): void {
|
||||
const different =
|
||||
forceResize ?? (width !== this.width || height !== this.height);
|
||||
forceResize || width !== this.width || height !== this.height;
|
||||
|
||||
if (!different) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user