Skip to content

Commit 9017ae1

Browse files
authored
UI: fix UITextureButton missing text (#1398)
1 parent dbe9aa0 commit 9017ae1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arcade/gui/widgets/buttons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(
115115
if texture_disabled:
116116
self._textures["disabled"] = texture_disabled
117117

118-
self._text = text
118+
self.text = text
119119

120120
bind(self, "_textures", self.trigger_render)
121121
bind(self, "text", self.trigger_render)

0 commit comments

Comments
 (0)