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

UI - Fix serialize/deserialize of child Quads in QuadRenderable. #136

Open
MakoEnergy opened this issue Mar 19, 2017 · 0 comments
Open

UI - Fix serialize/deserialize of child Quads in QuadRenderable. #136

MakoEnergy opened this issue Mar 19, 2017 · 0 comments
Assignees

Comments

@MakoEnergy
Copy link
Member

Different assumptions are being made in different places in UI code. QuadRenderables create new children and those children to themselves when deserializing child quads, but don't clear already existing quads prior to this.

Additionally, the Scrollbar class will check after child quads are deserialized if expected children are present and map them to the more explicit pointers they are holding for those children. Other Widgets with similar functionality (DropdownList, ListBox, Spinner) do not do this.

They should all use a common idiom based on a solidified policy set by the QuadRenderable class.

@MakoEnergy MakoEnergy self-assigned this Mar 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant