2 Commits
Author SHA1 Message Date
YoursFunny 9633fa64e0 fix: update assets file 2026-07-13 10:50:43 +08:00
YoursFunny ac0c0130f8 fix(momotalk): update ui assets for all servers 2026-07-13 10:50:33 +08:00
5 changed files with 13 additions and 13 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

+12 -12
View File
@@ -175,24 +175,24 @@ NOTIFICATION_BADGE = ButtonWrapper(
name='NOTIFICATION_BADGE', name='NOTIFICATION_BADGE',
jp=Button( jp=Button(
file='./assets/jp/momotalk/NOTIFICATION_BADGE.png', file='./assets/jp/momotalk/NOTIFICATION_BADGE.png',
area=(163, 107, 196, 129), area=(139, 100, 158, 116),
search=(143, 87, 216, 149), search=(119, 80, 178, 136),
color=(240, 110, 65), color=(245, 126, 85),
button=(163, 107, 196, 129), button=(139, 100, 158, 116),
), ),
en=Button( en=Button(
file='./assets/en/momotalk/NOTIFICATION_BADGE.png', file='./assets/en/momotalk/NOTIFICATION_BADGE.png',
area=(171, 109, 200, 128), area=(153, 106, 179, 125),
search=(151, 89, 220, 148), search=(133, 86, 199, 145),
color=(242, 101, 47), color=(244, 115, 68),
button=(171, 109, 200, 128), button=(153, 106, 179, 125),
), ),
zht=Button( zht=Button(
file='./assets/zht/momotalk/NOTIFICATION_BADGE.png', file='./assets/zht/momotalk/NOTIFICATION_BADGE.png',
area=(171, 109, 200, 128), area=(153, 106, 179, 125),
search=(151, 89, 220, 148), search=(133, 86, 199, 145),
color=(242, 101, 47), color=(244, 115, 68),
button=(171, 109, 200, 128), button=(153, 106, 179, 125),
), ),
) )
REPLY = ButtonWrapper( REPLY = ButtonWrapper(
+1 -1
View File
@@ -99,7 +99,7 @@ class MomoTalkUI(UI):
If yes, open it otherwise it means no student available for interaction. If yes, open it otherwise it means no student available for interaction.
""" """
self.ui_ensure(page_main) self.ui_ensure(page_main)
if self.match_color(NOTIFICATION_BADGE, threshold=80): if self.match_color(NOTIFICATION_BADGE, threshold=120):
self.ui_ensure(page_momo_talk) self.ui_ensure(page_momo_talk)
while SWITCH_SIDEBAR.get(self) != "message": while SWITCH_SIDEBAR.get(self) != "message":
SWITCH_SIDEBAR.set("message", self) SWITCH_SIDEBAR.set("message", self)