update appheader

This commit is contained in:
Ren Amamiya
2023-05-06 07:25:06 +07:00
parent b377846073
commit 65aebcc3a3
7 changed files with 13 additions and 13 deletions

View File

@@ -28,7 +28,7 @@ fn main() {
let main_window = app.get_window("main").unwrap();
#[cfg(target_os = "macos")]
main_window.position_traffic_lights(8.0, 20.0); // set inset for traffic lights (macos)
main_window.position_traffic_lights(8.0, 16.0); // set inset for traffic lights (macos)
Ok(())
})
@@ -37,7 +37,7 @@ fn main() {
let apply_offset = || {
let win = e.window();
// keep inset for traffic lights when window resize (macos)
win.position_traffic_lights(8.0, 20.0);
win.position_traffic_lights(8.0, 16.0);
};
#[cfg(target_os = "macos")]
match e.event() {