mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 07:13:54 +03:00
Merge pull request #2370 from zed-industries/flip-screen-sharing-icon-states
Flip screen sharing icon states
This commit is contained in:
commit
b39b3541e9
@ -395,10 +395,10 @@ impl CollabTitlebarItem {
|
||||
let icon;
|
||||
let tooltip;
|
||||
if room.read(cx).is_screen_sharing() {
|
||||
icon = "icons/disable_screen_sharing_12.svg";
|
||||
icon = "icons/enable_screen_sharing_12.svg";
|
||||
tooltip = "Stop Sharing Screen"
|
||||
} else {
|
||||
icon = "icons/enable_screen_sharing_12.svg";
|
||||
icon = "icons/disable_screen_sharing_12.svg";
|
||||
tooltip = "Share Screen";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user