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

Perform relative_cursor_position calculation vectorwise in ui_focus_system #8795

Conversation

ickshonpe
Copy link
Contributor

Objective

This calculation is performed componentwise but all the values are vectors so it should be using vector operations.
Works correctly with the relative_cursor_position example.

@mockersf mockersf added A-UI Graphical user interfaces, styles, layouts, and widgets C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Jun 9, 2023
@mockersf mockersf added this pull request to the merge queue Jun 9, 2023
Merged via the queue into bevyengine:main with commit a1494e5 Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants