Fix | Button position have a z
This commit is contained in:
parent
b566c93ffa
commit
f17e4fbd59
@ -174,7 +174,7 @@ class PressTextButton(widgets.WidgetBase):
|
|||||||
self.pressed = False
|
self.pressed = False
|
||||||
|
|
||||||
def _update_position(self):
|
def _update_position(self):
|
||||||
self.text_label.position = self._x, self._y
|
self.text_label.position = self._x, self._y, 0
|
||||||
self.back_rec.position = self._x, self._y
|
self.back_rec.position = self._x, self._y
|
||||||
self.back_rec.width = self._width
|
self.back_rec.width = self._width
|
||||||
self.back_rec.height = self._height
|
self.back_rec.height = self._height
|
||||||
|
Loading…
Reference in New Issue
Block a user