1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: [CN] User Agreement detection

Its font size was changing frequently
This commit is contained in:
LmeSzinc
2021-07-16 21:35:11 +08:00
parent f1f190a2ad
commit ddb67208a7

View File

@@ -151,7 +151,7 @@ class LoginHandler(Combat):
bool: If handled.
"""
if server.server == 'cn':
if self.appear(USER_AGREEMENT_CONFIRM, offset=(50, 50), interval=2):
if self.appear(USER_AGREEMENT_CONFIRM, interval=2):
USER_AGREEMENT_SCROLL.set_bottom(main=self)
self.device.click(USER_AGREEMENT_CONFIRM)
return True