Skip to content

Commit

Permalink
Merge pull request #188 from dave-wathen/main
Browse files Browse the repository at this point in the history
Set tag for MenuBar
  • Loading branch information
Andrew Wheeler(Genusis) authored Oct 5, 2023
2 parents b71f220 + 5a58637 commit 0c0416c
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 0c0416c

Please sign in to comment.