Skip to content

Commit

Permalink
fix 2560x1440 scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jul 10, 2024
1 parent 8f246ec commit 7d50a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/task/FarmWorldBossTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ def check_main(self):
return True

def scroll_down_a_page(self):
source_box = self.box_of_screen(0.38, 0.78, 0.42, 0.85)
source_box = self.box_of_screen(0.38, 0.78, 0.42, 0.80)
source_template = Feature(source_box.crop_frame(self.frame), source_box.x, source_box.y)
target_box = self.box_of_screen(0.38, 0.18, 0.42, 0.31)
target_box = self.box_of_screen(0.38, 0.16, 0.42, 0.33)
start = time.time()
# count = 0
while True:
Expand Down

0 comments on commit 7d50a5b

Please sign in to comment.