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

Online "Button Example" has the target centered below where it should be #5336

Closed
Ryder17z opened this issue Jul 16, 2022 · 3 comments
Closed
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior

Comments

@Ryder17z
Copy link

Bevy version

Unknown.

Relevant system information

Running Firefox 102.0.1

What you did

Run online demo: https://bevyengine.org/examples/ui/button/

What went wrong

Target area is offset downwards

Additional information

image
(I couldn't get the cursor to show up in the screenshot, so I painted one onto the picture)

@Ryder17z Ryder17z added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jul 16, 2022
@Weibye Weibye added A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior and removed C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jul 17, 2022
@Weibye
Copy link
Contributor

Weibye commented Jul 17, 2022

Just tested on Chrome 103.0.5060.114, same issue.

Seems the size is correct but the hover area is offset down and to the right like so:

image

@Weibye
Copy link
Contributor

Weibye commented Jul 17, 2022

Closing as duplicate of #4963, it should be fixed on main, meaning the example should get fixed once bevy 0.8 is released.

If the issue persists after that we should reopen #4963

@Weibye Weibye closed this as completed Jul 17, 2022
@Ryder17z
Copy link
Author

Ah. I didn't find the earlier bug report.

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-Bug An unexpected or incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants