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

feat(widgets): add child and overlay props #237

Merged
merged 3 commits into from
Jan 6, 2024
Merged

Conversation

matt1432
Copy link
Contributor

@matt1432 matt1432 commented Jan 2, 2024

This PR adds the overlay property that allows setting and getting a single widget as an overlay instead of dealing with an array of widgets.

For feature parity, I decided to overwrite the child prop on Box to allow doing the same thing.

I also fixed a bug where the overlays getter would return the widget's child instead of all the overlays.

@Aylur Aylur merged commit 1a494e1 into Aylur:main Jan 6, 2024
2 checks passed
gorsbart pushed a commit to gorsbart/ags that referenced this pull request Feb 28, 2024
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