mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +00:00
Adjust window's traffic light position when setting its title
This commit is contained in:
parent
6ccc90327c
commit
fbc934b884
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue