Merge remote-tracking branch 'origin/callback-handles' into search2
This commit is contained in:
commit
54a3b56935
118 changed files with 2175 additions and 6954 deletions
|
@ -10,7 +10,7 @@ pub enum ToolbarItemEvent {
|
|||
ChangeLocation(ToolbarItemLocation),
|
||||
}
|
||||
|
||||
pub trait ToolbarItemView: Render<Self> + EventEmitter<ToolbarItemEvent> {
|
||||
pub trait ToolbarItemView: Render + EventEmitter<ToolbarItemEvent> {
|
||||
fn set_active_pane_item(
|
||||
&mut self,
|
||||
active_pane_item: Option<&dyn crate::ItemHandle>,
|
||||
|
@ -76,8 +76,9 @@ impl Toolbar {
|
|||
}
|
||||
}
|
||||
|
||||
impl Render<Self> for Toolbar {
|
||||
type Element = Div<Self>;
|
||||
impl Render for Toolbar {
|
||||
type Element = Div;
|
||||
|
||||
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||
//dbg!(&self.items.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue