mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 19:55:12 +00:00
fix(cafe): use smaller default pinch area
This commit is contained in:
parent
61fa6ad28b
commit
937a7c63e8
@ -172,7 +172,7 @@ class Control(Hermit, Minitouch, Scrcpy, MaaTouch):
|
|||||||
self.click(ClickButton(button=area_offset(point_random, p2), name=name))
|
self.click(ClickButton(button=area_offset(point_random, p2), name=name))
|
||||||
|
|
||||||
# just used in cafe
|
# just used in cafe
|
||||||
def pinch(self, box=(33, 130, 1247, 569), name='PINCH'):
|
def pinch(self, box=(35, 130, 1250, 560), name='PINCH'):
|
||||||
self.handle_control_check(name)
|
self.handle_control_check(name)
|
||||||
middle_point = (box[0] + box[2]) // 2, (box[1] + box[3]) // 2
|
middle_point = (box[0] + box[2]) // 2, (box[1] + box[3]) // 2
|
||||||
width = box[2] - middle_point[0]
|
width = box[2] - middle_point[0]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user