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

Field2d widget hit boundary can extend outside widget boundary #727

Open
28andrew opened this issue Mar 27, 2022 · 0 comments
Open

Field2d widget hit boundary can extend outside widget boundary #727

28andrew opened this issue Mar 27, 2022 · 0 comments

Comments

@28andrew
Copy link

Describe the bug
When a pose of a FieldObject2d is set outside the boundaries of the field, the boundary on where you can click on the corresponding Field2d widget can extend past the boundary of the widget itself.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Field2d and add a FieldObject2d.
  2. Set the position of that object to a pose outside of the field such as (x=9999, y=9999, rotation = 0 rad)
  3. Add Field2d to a Shuffleboard tab
  4. Attempt to click on the blank space outside of the widget.

Expected behavior
Clicking outside of the widget should still not click on the widget.

Screenshots
image
^ Clicking on the autonomous chooser, or anywhere outside of the field widget excluding the menu bar, clicks on the field widget.

Desktop (please complete the following information):

  • OS: Windows 10 10.0 amd64
  • JRE: 11.0.13+8 -- Eclipse Adoptium
  • Version 2022.4.1 built on February 26, 2022
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

No branches or pull requests

1 participant