mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 05:24:04 +00:00
[ENG-1535] Fix MacOS window title showing (#1936)
set the title bar to the non-fullscreen style on first launch
This commit is contained in:
parent
e027bba001
commit
6f531f8d5e
|
@ -286,7 +286,7 @@ async fn main() -> tauri::Result<()> {
|
||||||
|
|
||||||
let nswindow = window.ns_window().unwrap();
|
let nswindow = window.ns_window().unwrap();
|
||||||
|
|
||||||
unsafe { set_titlebar_style(&nswindow, true) };
|
unsafe { set_titlebar_style(&nswindow, false) };
|
||||||
unsafe { blur_window_background(&nswindow) };
|
unsafe { blur_window_background(&nswindow) };
|
||||||
|
|
||||||
tokio::spawn({
|
tokio::spawn({
|
||||||
|
|
Loading…
Reference in a new issue