Skip to content

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Jun 4, 2025

Ensures that invisible children are not added to the Yoga layout.

This prevents errors that can occur when a child that is not visible and not the last child is added to a parent

Prevents errors when adding invisible sprites to a layout by ensuring that children not found in the parent container are not inserted into the Yoga layout.

Adds a test case to verify that invisible sprites are not added to the layout, preventing potential layout calculation errors.
@Zyie Zyie force-pushed the fix/visibility branch from 0ba83d8 to 55c87e1 Compare June 4, 2025 14:59
@Zyie Zyie enabled auto-merge June 13, 2025 11:52
@Zyie Zyie added this pull request to the merge queue Jun 13, 2025
Merged via the queue into main with commit 21559e0 Jun 13, 2025
1 check passed
@Zyie Zyie deleted the fix/visibility branch June 13, 2025 11:53
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.

1 participant