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

add a special type for IDs #798

Merged
merged 5 commits into from
May 22, 2024
Merged

add a special type for IDs #798

merged 5 commits into from
May 22, 2024

Conversation

gucio321
Copy link
Collaborator

@AllenDang I did something like this, is it ok?

make it less possible to change some IDs and cause strange layout behaviours

Sometimes, when there were nested layouts and some of them were dynamically generated
depending on other widgets, it caused some strange UI behaviours
If something has type ID, it means that it will not be proceeded by GenAutoID
and will be passed as-is to cimgui
@AllenDang
Copy link
Owner

@gucio321 Let me take a look, get back to you later, thanks for your effort!

@AllenDang
Copy link
Owner

@gucio321 LGTM go ahead pls.

@gucio321
Copy link
Collaborator Author

ok,
well but it doesn't look good for our workflows 😄 let me fix them and merge

@gucio321 gucio321 merged commit 2364349 into AllenDang:master May 22, 2024
4 checks passed
@gucio321 gucio321 deleted the id-type branch May 22, 2024 07:51
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 this pull request may close these issues.

2 participants