context menu: Use invisible() to hide the check icon (#24562)

Follow up to: https://github.com/zed-industries/zed/pull/24549

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-02-10 12:16:33 -03:00 committed by GitHub
parent ca4378cbaa
commit d292b7c96d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -681,7 +681,7 @@ impl Render for ContextMenu {
div().flex_none().child(
Icon::new(IconName::Check)
.size(*icon_size)
).opacity(0.)
).invisible()
};
match position {
IconPosition::Start => {