Add disclosable components into channels
Rename components to more closely match their purpose
This commit is contained in:
parent
2d37128693
commit
bd3ab82dac
10 changed files with 359 additions and 194 deletions
|
@ -2,7 +2,7 @@ use bitflags::bitflags;
|
|||
pub use buffer_search::BufferSearchBar;
|
||||
use gpui::{
|
||||
actions,
|
||||
elements::{Component, GeneralStyleableComponent, TooltipStyle},
|
||||
elements::{Component, StyleableComponent, TooltipStyle},
|
||||
Action, AnyElement, AppContext, Element, View,
|
||||
};
|
||||
pub use mode::SearchMode;
|
||||
|
@ -96,7 +96,7 @@ impl SearchOptions {
|
|||
.with_contents(Svg::new(self.icon()))
|
||||
.toggleable(active)
|
||||
.with_style(button_style)
|
||||
.c_element()
|
||||
.element()
|
||||
.into_any()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue