diff --git a/src/structures/FlowWindow.ts b/src/structures/FlowWindow.ts index dff5c78..680844a 100644 --- a/src/structures/FlowWindow.ts +++ b/src/structures/FlowWindow.ts @@ -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`