update appheader
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user