mirror of
https://github.com/mathuo/dockview
synced 2025-05-13 23:18:27 +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 {
|
public layout(width: number, height: number, forceResize?: boolean): void {
|
||||||
const different =
|
const different =
|
||||||
forceResize ?? (width !== this.width || height !== this.height);
|
forceResize || width !== this.width || height !== this.height;
|
||||||
|
|
||||||
if (!different) {
|
if (!different) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user