remove debug

This commit is contained in:
shenjack 2023-08-30 12:00:54 +08:00
parent 086a96672a
commit 40fc65ae5a
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -103,8 +103,6 @@ class PressTextButton(widgets.WidgetBase):
text_width = self.text_label.content_width
self.text_label.x = self._x + (self.width - text_width) // 2
self.text_label.y = self._y + (self.height - self.font_height) // 2 + (self.font_height * 0.2) # 修正一下位置
print(self.text_label.x, self.text_label.y)
print(self.height, self.font_height)
def __contains__(self, item):
return item in self.back_rec