mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 12:14:05 +03:00
fix(runtime-wry): apply closable
, maximizable
and minimizable
effects from config (#9410)
closes #9409
This commit is contained in:
parent
cf615e8e4d
commit
005fe8ce1e
6
.changes/closeable-maximizable.md
Normal file
6
.changes/closeable-maximizable.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": "patch:bug"
|
||||
"tauri-runtime-wry": "patch"
|
||||
---
|
||||
|
||||
Fix `closable`, `maximizable` and `minimizable` options not taking effect when used in tauri.conf.json or from JS APIs.
|
@ -772,6 +772,9 @@ impl WindowBuilder for WindowBuilderWrapper {
|
||||
.content_protected(config.content_protected)
|
||||
.skip_taskbar(config.skip_taskbar)
|
||||
.theme(config.theme)
|
||||
.closable(config.closable)
|
||||
.maximizable(config.maximizable)
|
||||
.minimizable(config.minimizable)
|
||||
.shadow(config.shadow);
|
||||
|
||||
if let (Some(min_width), Some(min_height)) = (config.min_width, config.min_height) {
|
||||
|
Loading…
Reference in New Issue
Block a user