mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Add: Scrolling medal shop list
This commit is contained in:
@@ -168,8 +168,8 @@ class Scroll:
|
||||
target = round(min(max(target, 0), 1), 3)
|
||||
self.set(target, main=main, random_range=random_range, skip_first_screenshot=True)
|
||||
|
||||
def next_page(self, main, random_range=(-0.01, 0.01), skip_first_screenshot=True):
|
||||
self.drag_page(0.8, main=main, random_range=random_range, skip_first_screenshot=skip_first_screenshot)
|
||||
def next_page(self, main, page=0.8, random_range=(-0.01, 0.01), skip_first_screenshot=True):
|
||||
self.drag_page(page, main=main, random_range=random_range, skip_first_screenshot=skip_first_screenshot)
|
||||
|
||||
def prev_page(self, main, random_range=(-0.01, 0.01), skip_first_screenshot=True):
|
||||
self.drag_page(-0.8, main=main, random_range=random_range, skip_first_screenshot=skip_first_screenshot)
|
||||
def prev_page(self, main, page=0.8, random_range=(-0.01, 0.01), skip_first_screenshot=True):
|
||||
self.drag_page(-page, main=main, random_range=random_range, skip_first_screenshot=skip_first_screenshot)
|
||||
|
||||
Reference in New Issue
Block a user