Adjust window's traffic light position when setting its title

This commit is contained in:
Max Brunsfeld 2023-02-23 14:44:45 -08:00
parent 6ccc90327c
commit fbc934b884

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();
}
}