mirror of
https://github.com/mountain-loop/yaak.git
synced 2025-12-05 19:17:44 -06:00
Debug Window
This commit is contained in:
@@ -95,6 +95,12 @@ pub(crate) fn create_window<R: Runtime>(
|
||||
});
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
{
|
||||
println!("ENABLING DECORATIONS FOR WINDOW");
|
||||
win_builder = win_builder.decorations(true);
|
||||
}
|
||||
|
||||
let settings = handle.db().get_settings();
|
||||
if config.hide_titlebar && !settings.use_native_titlebar {
|
||||
#[cfg(target_os = "macos")]
|
||||
@@ -105,6 +111,7 @@ pub(crate) fn create_window<R: Runtime>(
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
{
|
||||
// Doesn't seem to work from Rust, here, so we do it in main.tsx
|
||||
println!("DISABLING DECORATIONS FOR WINDOW");
|
||||
win_builder = win_builder.decorations(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user