-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Button web example on bevyengine.org clickable area is wrong (Regression?) #4963
Comments
I just tried pulling the main branch and running the example locally using |
Yeah seems like @paul-hansen is right. |
The website is using the last released version, 0.7 here |
This looks like it might be a duplicate of bevyengine/bevy-website#371 and should have been fixed by #4726. |
I agree that looks like the same thing and looks to be fixed in main now. Thanks for tracking that down 👍 I'll close this for now, feel free to reopen or anything though if you think something should be done before 0.8 releases. |
#4726 probably didn't fix this as it's an optional behaviour that is not enabled by default |
Reopened as we have a fresh reproduction. |
issue is on the CSS of the website changing the size of the canvas, I opened bevyengine/bevy-website#429 to change that |
Bevy version
Whatever the examples are built with on the webpage: https://bevyengine.org/examples/ui/button/
Is not happening for me locally using Bevy 0.7
System information
Chrome Version 102.0.5005.63 (Official Build) (64-bit) on Windows 11
What you did
I opened https://bevyengine.org/examples/ui/button/ and tried clicking the button in the example.
What went wrong
The area that I can click the button is offset from the visual position of the button. It gets more offset (and maybe larger?) if the window is made smaller.
Additional information
Example:
video.mp4
I'm 90% sure this wasn't happening earlier today, so it might be something merged recently.
The text was updated successfully, but these errors were encountered: