2 Commits
Author SHA1 Message Date
YoursFunny 08cb7f8d3a fix: update assets file
fix(momotalk): update ui assets for all servers
2026-07-13 16:03:03 +08:00
YoursFunny ce2afff3c4 fix(momotalk): update ui assets for all servers 2026-07-13 16:02:33 +08:00
9 changed files with 28 additions and 28 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

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.4 KiB

After

Width:  |  Height:  |  Size: 5.5 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: 8.0 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

+27 -27
View File
@@ -103,24 +103,24 @@ CONFIRM_SORT = ButtonWrapper(
name='CONFIRM_SORT',
jp=Button(
file='./assets/jp/momotalk/CONFIRM_SORT.png',
area=(243, 403, 656, 440),
search=(223, 383, 676, 460),
area=(239, 457, 658, 495),
search=(219, 437, 678, 515),
color=(252, 253, 253),
button=(243, 403, 656, 440),
button=(239, 457, 658, 495),
),
en=Button(
file='./assets/en/momotalk/CONFIRM_SORT.png',
area=(239, 407, 657, 439),
search=(219, 387, 677, 459),
color=(248, 249, 249),
button=(239, 407, 657, 439),
area=(239, 456, 658, 496),
search=(219, 436, 678, 516),
color=(249, 250, 250),
button=(239, 456, 658, 496),
),
zht=Button(
file='./assets/zht/momotalk/CONFIRM_SORT.png',
area=(240, 401, 656, 440),
search=(220, 381, 676, 460),
color=(249, 250, 250),
button=(240, 401, 656, 440),
area=(241, 457, 656, 495),
search=(221, 437, 676, 515),
color=(250, 251, 251),
button=(241, 457, 656, 495),
),
)
FIRST_UNREAD = ButtonWrapper(
@@ -175,24 +175,24 @@ NOTIFICATION_BADGE = ButtonWrapper(
name='NOTIFICATION_BADGE',
jp=Button(
file='./assets/jp/momotalk/NOTIFICATION_BADGE.png',
area=(163, 107, 196, 129),
search=(143, 87, 216, 149),
color=(240, 110, 65),
button=(163, 107, 196, 129),
area=(139, 100, 158, 116),
search=(119, 80, 178, 136),
color=(245, 126, 85),
button=(139, 100, 158, 116),
),
en=Button(
file='./assets/en/momotalk/NOTIFICATION_BADGE.png',
area=(171, 109, 200, 128),
search=(151, 89, 220, 148),
color=(242, 101, 47),
button=(171, 109, 200, 128),
area=(153, 106, 179, 125),
search=(133, 86, 199, 145),
color=(244, 115, 68),
button=(153, 106, 179, 125),
),
zht=Button(
file='./assets/zht/momotalk/NOTIFICATION_BADGE.png',
area=(171, 109, 200, 128),
search=(151, 89, 220, 148),
color=(242, 101, 47),
button=(171, 109, 200, 128),
area=(153, 106, 179, 125),
search=(133, 86, 199, 145),
color=(244, 115, 68),
button=(153, 106, 179, 125),
),
)
REPLY = ButtonWrapper(
@@ -367,10 +367,10 @@ SWITCH_MESSAGE_CHECK = ButtonWrapper(
name='SWITCH_MESSAGE_CHECK',
jp=Button(
file='./assets/jp/momotalk/SWITCH_MESSAGE_CHECK.png',
area=(231, 167, 379, 190),
search=(211, 147, 399, 210),
color=(197, 201, 202),
button=(231, 167, 379, 190),
area=(232, 170, 356, 189),
search=(212, 150, 376, 209),
color=(195, 199, 201),
button=(232, 170, 356, 189),
),
en=Button(
file='./assets/en/momotalk/SWITCH_MESSAGE_CHECK.png',
+1 -1
View File
@@ -99,7 +99,7 @@ class MomoTalkUI(UI):
If yes, open it otherwise it means no student available for interaction.
"""
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)
while SWITCH_SIDEBAR.get(self) != "message":
SWITCH_SIDEBAR.set("message", self)