[⚡] Stopped resize according to canResize
This commit is contained in:
parent
f18923ff14
commit
bdf8d6008d
1 changed files with 4 additions and 0 deletions
|
|
@ -106,6 +106,10 @@ class FlowWindow {
|
|||
|
||||
if (config.canResize === undefined || config.canResize === null) config.canResize = true
|
||||
|
||||
if (config.canResize === false) {
|
||||
this.element.style.resize = 'none';
|
||||
}
|
||||
|
||||
this.element.style.width = `${config.width ?? 300}px`
|
||||
this.element.style.height = `${config.height ?? 200}px`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue