Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug v0.2.0: Id clash when using multiple Trees #11

Closed
tosti007 opened this issue Jul 6, 2023 · 0 comments · Fixed by #32
Closed

Bug v0.2.0: Id clash when using multiple Trees #11

tosti007 opened this issue Jul 6, 2023 · 0 comments · Fixed by #32

Comments

@tosti007
Copy link
Contributor

tosti007 commented Jul 6, 2023

With the release of v0.2.0, it is not longer possible to create multiple Trees within a single frame, as this results in id clashes. With v0.1.0 this wasn't an issue.

In the specific case I'm having, I have three Tabbed containers, the id clash egui gives me is on the first Tab button of each Tree Container.

@tosti007 tosti007 changed the title Bug: Id clash when using multiple Trees Bug v0.2.0: Id clash when using multiple Trees Jul 6, 2023
tosti007 added a commit to Traverse-Research/egui_tiles that referenced this issue Nov 2, 2023
tosti007 added a commit to Traverse-Research/egui_tiles that referenced this issue Nov 3, 2023
@emilk emilk closed this as completed in #32 Nov 21, 2023
emilk added a commit that referenced this issue Nov 21, 2023
* Closes #11 

* (this is a fork of #12)

---

Each `Tree` now has a globally unique id, meaning the same `Tree` can be
rendered in different `Ui`:s and still work, and you can have multiple
trees. However, it is up to the user to pick a globally unique id.

---------

Co-authored-by: tosti007 <git@brianjanssen.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant