Skip to content

Conversation

@GitGhillie
Copy link
Contributor

Objective

Avoid code duplication

Solution

Use the newly added toggle function

Testing

Ran the example

Copy link
Contributor

@kfc35 kfc35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for not doing this because of merge order and thank you for being thorough! 🙏

But while you’re at it already…. you can also replace this in the 2d_gizmos example please 😅 on line 212

@GitGhillie
Copy link
Contributor Author

No worries at all!
Thanks, I missed that one :)

@mockersf mockersf added this pull request to the merge queue Jan 1, 2026
Merged via the queue into bevyengine:main with commit bfc7cd9 Jan 1, 2026
38 checks passed
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.

3 participants