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:
parent
ca4378cbaa
commit
d292b7c96d
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ impl Render for ContextMenu {
|
||||||
div().flex_none().child(
|
div().flex_none().child(
|
||||||
Icon::new(IconName::Check)
|
Icon::new(IconName::Check)
|
||||||
.size(*icon_size)
|
.size(*icon_size)
|
||||||
).opacity(0.)
|
).invisible()
|
||||||
};
|
};
|
||||||
match position {
|
match position {
|
||||||
IconPosition::Start => {
|
IconPosition::Start => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue