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

Buttons with textures do not work correctly (pixel art) #92613

Closed
dpnnl opened this issue Jun 1, 2024 · 2 comments
Closed

Buttons with textures do not work correctly (pixel art) #92613

dpnnl opened this issue Jun 1, 2024 · 2 comments

Comments

@dpnnl
Copy link

dpnnl commented Jun 1, 2024

Tested versions

Godot 4.3 beta 1

System information

Windows 11 - Godot 4.3 beta 1

Issue description

I'm using buttons with texture (pixel art), there are two textures: normal and pressed. Note that in Godot 4.2 when pressing the button the button text is also pressed, which does not happen in 4.3. This problem also occurs with icons on buttons.


Captura de tela 2024-05-31 215114
Captura de tela 2024-05-31 215150

Godot 4.2:

Gravando.2024-05-31.215227.mp4

Godot 4.3

Gravando.2024-05-31.215322.mp4

Steps to reproduce

Add two textures (pixel art) for buttons and change the region of the button texture when clicked.

Minimal reproduction project (MRP)

Button Test.zip

@matheusmdx
Copy link
Contributor

matheusmdx commented Jun 1, 2024

Testing with 4.3.dev6 and works as expected, this looks to be a similar/duplicate issue from #92602 and probably has the same cause: #92009, Im bisecting another issue now but i'll confirm later if is a regression from #92009

Edit: Reverting #92009 fixes the issue

@AThousandShips
Copy link
Member

Thank you for reporting, consolidating in:

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants