mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 17:24:04 +08:00
Fix: [CN] User Agreement detection
Its font size was changing frequently
This commit is contained in:
@@ -151,7 +151,7 @@ class LoginHandler(Combat):
|
|||||||
bool: If handled.
|
bool: If handled.
|
||||||
"""
|
"""
|
||||||
if server.server == 'cn':
|
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)
|
USER_AGREEMENT_SCROLL.set_bottom(main=self)
|
||||||
self.device.click(USER_AGREEMENT_CONFIRM)
|
self.device.click(USER_AGREEMENT_CONFIRM)
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user