diff --git a/source/component/menubar.py b/source/component/menubar.py index 9ab3741..bcc8e3f 100755 --- a/source/component/menubar.py +++ b/source/component/menubar.py @@ -361,7 +361,7 @@ class Panel(): def setupCards(self, card_list): self.card_list = [] x = c.PANEL_X_START - c.PANEL_X_INTERNAL - y = c.PANEL_Y_START + 43 - c.PANEL_Y_INTERNAL + y = c.PANEL_Y_START + 38 - c.PANEL_Y_INTERNAL for i, index in enumerate(card_list): if i % 8 == 0: x = c.PANEL_X_START - c.PANEL_X_INTERNAL diff --git a/source/constants.py b/source/constants.py index f12c384..e491261 100755 --- a/source/constants.py +++ b/source/constants.py @@ -162,7 +162,7 @@ CARD_POOL = 'card_pool' # 关于植物栏的像素设置 PANEL_Y_START = 87 PANEL_X_START = 22 -PANEL_Y_INTERNAL = 73 +PANEL_Y_INTERNAL = 69 PANEL_X_INTERNAL = 53 BAR_CARD_X_INTERNAL = 51 CARD_MAX_NUM = 10 # 这里以后可以增加解锁功能,从最初的6格逐渐解锁到10格