mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(runtime-wry): apply closable, maximizable and minimizable effects from config (#9410)
closes #9409
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user