mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 05:11:44 +03:00
Always show channel toggle when collapsed (#3698)
This PR makes the channel toggle disclosure always visible when a channel tree is collapsed, as opposed to just being visible on hover. This makes it possible to visually identify collapsed channel trees without having to hover over each entry. Release Notes: - N/A
This commit is contained in:
parent
f143467478
commit
0aa690f915
@ -192,7 +192,7 @@ impl RenderOnce for ListItem {
|
||||
.flex()
|
||||
.absolute()
|
||||
.left(rems(-1.))
|
||||
.visible_on_hover("")
|
||||
.when(is_open, |this| this.visible_on_hover(""))
|
||||
.child(Disclosure::new(is_open).on_toggle(self.on_toggle))
|
||||
}))
|
||||
.child(
|
||||
|
Loading…
Reference in New Issue
Block a user