ZIm/crates/collab_ui2
Marshall Bowers 137e4e9251
Add .visible_on_hover helper method (#3639)
This PR adds a `.visible_on_hover` helper method that can be used to
make an element only visible on hover.

I noticed we were repeating this similar stanza in a bunch of different
spots:

```rs
some_element
    .invisible()
    .group_hover("", |style| style.visible())
``` 

so it seemed like a nice thing to factor out into a reusable utility.

Release Notes:

- N/A
2023-12-13 19:12:20 -05:00
..
src Add .visible_on_hover helper method (#3639) 2023-12-13 19:12:20 -05:00
Cargo.toml Port recent_projects to Zed2 (#3525) 2023-12-06 18:41:50 -05:00