Skip to content

Commit

Permalink
Set tag for MenuBar
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-wathen committed Oct 5, 2023
1 parent b71f220 commit 5a58637
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/native/menu/menu_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ where
}
}

fn tag(&self) -> tree::Tag {
tree::Tag::of::<MenuBarState>()
}

fn state(&self) -> tree::State {
tree::State::new(MenuBarState::default())
}
Expand Down

0 comments on commit 5a58637

Please sign in to comment.