macos: always use latest window decoration config from runtime

This commit is contained in:
Will Pragnell
2023-09-13 15:24:38 -07:00
committed by Mitchell Hashimoto
parent ddb9be0971
commit 81efb2dfe5

View File

@ -31,7 +31,7 @@ class PrimaryWindow: NSWindow {
let window = PrimaryWindow(
contentRect: NSRect(x: 0, y: 0, width: 800, height: 600),
styleMask: getStyleMask(renderDecoration: baseConfig?.render_decoration ?? renderDecoration),
styleMask: getStyleMask(renderDecoration: renderDecoration),
backing: .buffered,
defer: false)
window.center()