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

Danilo Leal created

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

Release Notes:

- N/A

Change summary

crates/ui/src/components/context_menu.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/ui/src/components/context_menu.rs 🔗

@@ -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 => {