Merge pull request #2212 from zed-industries/initial-traffic-light-position

Adjust window's traffic light position when setting its title
This commit is contained in:
Max Brunsfeld
2023-02-23 15:02:05 -08:00
committed by GitHub
+1
View File
@@ -737,6 +737,7 @@ impl platform::Window for Window {
let title = ns_string(title);
let _: () = msg_send![app, changeWindowsItem:window title:title filename:false];
let _: () = msg_send![window, setTitle: title];
self.0.borrow().move_traffic_light();
}
}