坏了,忘记水commit了(

This commit is contained in:
shenjack 2023-09-13 00:19:31 +08:00
parent 6229e8447c
commit 24ab22f4d8
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 5 additions and 1 deletions

View File

@ -130,7 +130,6 @@ class PressTextButton(widgets.WidgetBase):
self.back_rec.position = self._x, self._y
self.back_rec.width = self._width
self.back_rec.height = self._height
...
PressTextButton.register_event_type('on_press')

View File

@ -4,6 +4,8 @@
# All rights reserved
# -------------------------------
from pyglet.graphics import Batch, Group
from Difficult_Rocket.client import ClientWindow
from Difficult_Rocket.api.screen import BaseScreen
@ -19,5 +21,8 @@ class Menu(BaseScreen):
def __init__(self,
main_window: ClientWindow):
super().__init__(main_window)
self.main_batch = Batch()
self.main_group = Group(parent=main_window.main_group, order=1)
# 占位, 高二看看能不能咕出来点啥 (20230911)
# 欸呀, 正好是 911 纪念日哦