zed/crates/ui2/src
Piotr Osiewicz dc1ed3c39d
Titlebar project menu double click (#3784)
This addresses a bug where popover menus in the titlebar were rendered
only after a 2nd click. The first click was creating the View which the
second one then rendered.
In addition to this, `PopoverMenu::menu` function argument can now
return an `Option<View<T>>` instead of `View<T>` as the creation of the
menu can fail (as it might in case of git popover).

Release Notes:

- N/A
2023-12-22 17:18:12 +01:00
..
components Titlebar project menu double click (#3784) 2023-12-22 17:18:12 +01:00
styles WIP 2023-12-14 10:31:45 -07:00
utils use to_string to return the format distance string from FormatDistance 2023-12-19 11:57:57 -05:00
clickable.rs Add Disableable trait (#3439) 2023-11-29 13:01:26 -05:00
components.rs Extract TabBar component (#3613) 2023-12-12 15:50:05 -05:00
disableable.rs Add Disableable trait (#3439) 2023-11-29 13:01:26 -05:00
fixed.rs Add Disableable trait (#3439) 2023-11-29 13:01:26 -05:00
prelude.rs Add .visible_on_hover helper method (#3639) 2023-12-13 19:12:20 -05:00
selectable.rs Implement Selectable for buttons (#3451) 2023-11-29 18:46:41 -05:00
styled_ext.rs Rework ListItem and ListHeader to use slot-based APIs (#3635) 2023-12-13 16:08:31 -05:00
styles.rs
ui2.rs Add .visible_on_hover helper method (#3639) 2023-12-13 19:12:20 -05:00
utils.rs
visible_on_hover.rs Implement VisibleOnHover for IconButton (#3642) 2023-12-13 20:42:27 -05:00