Skip to content

Commit c47f386

Browse files
authored
gui: UITextureButton - make hover and press texture optional (#1414)
1 parent dad7007 commit c47f386

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

arcade/gui/widgets/buttons.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def __init__(
108108

109109
if texture:
110110
self._textures["normal"] = texture
111+
self._textures["hover"] = texture
112+
self._textures["press"] = texture
113+
self._textures["disabled"] = texture
111114
if texture_hovered:
112115
self._textures["hover"] = texture_hovered
113116
if texture_pressed:

0 commit comments

Comments
 (0)