mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 10:58:21 +08:00
Fix: Handle pinned zone when moving in globe
- Fix: Get mission in zone [154|NA海域中心|NA OCEAN CENTRAL SECTOR|NA海域中心]
This commit is contained in:
@@ -44,7 +44,9 @@ class GlobeOperation(UI, MapEventHandler):
|
||||
bool: If handled.
|
||||
"""
|
||||
if self.is_zone_pinned():
|
||||
self.device.click(ZONE_PINNED)
|
||||
# A click does not disable pinned zone, a swipe does.
|
||||
self.device.swipe((50, -50), box=area_pad(ZONE_PINNED.area, pad=-80), random_range=(-10, -10, 10, 10),
|
||||
padding=0, name='PINNED_DISABLE')
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user