We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a41bdbd commit c4db657Copy full SHA for c4db657
template-creator/src-tauri/src/main.rs
@@ -57,7 +57,8 @@ fn main() {
57
.max_inner_size(500.0, 400.0)
58
.min_inner_size(500.0, 400.0)
59
.center();
60
- if cfg!(target_os = "windows") {
+ #[cfg(target_os = "windows")]
61
+ {
62
new_window = new_window.owner_window(event.window().hwnd().unwrap())
63
}
64
new_window.build().unwrap();
0 commit comments