I don’t understand how TextureButton’s styles affect on each other.
I thought that when state of button changes (normal. hover, focus, etc) sprite just changes. But as I discover when button focused sprite not changes but rendered on normal texture.
Problem
I want button to behave same on hover and focused states, because I want same visuals for gamepad and mouse interface interactions
Question
Why button behave like that
How to fix it?
Screenshots
normal button
hovered button
focused button (have both focus and normal sprites)
Texture to overlay on the base texture when the node has mouse or keyboard focus. Because texture_focused is displayed on top of the base texture, a partially transparent texture should be used to ensure the base texture remains visible. A texture that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a fully transparent texture of any size. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons.