You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[cfg(target_os = "macos")] {
// Set a custom inset to the traffic lights
window.set_traffic_lights_inset(12.0, 18.0).unwrap();
// Make window transparent without privateApi
window.make_transparent().unwrap();
}
also add set_traffic_lights_inset in on_window_event
I've noticed that when I double-click the toolbar, set_traffic_lights_inset only works when the zooming behavior starts and ends. I'm curious how to keep traffic_lights in the correct position during zooming.
Currently during zooming, traffic_lights are reset to the position when set_traffic_lights_inset is not set.
The text was updated successfully, but these errors were encountered:
I have a mac app and have code in
setup
also add set_traffic_lights_inset in
on_window_event
I've noticed that when I double-click the toolbar, set_traffic_lights_inset only works when the zooming behavior starts and ends. I'm curious how to keep traffic_lights in the correct position during zooming.
Currently during zooming, traffic_lights are reset to the position when set_traffic_lights_inset is not set.
The text was updated successfully, but these errors were encountered: