Fix: GUILD DISPATCH (#3392)

* Fix_Gulid_DISPATCH

* Revert "Fix_Gulid_DISPATCH"

This reverts commit ba1f1f2ef5.

* Fixed_Gulid_DISPATCH

* Fixed_GulidDISPATCH
This commit is contained in:
SC23 2023-12-29 09:47:30 +08:00 committed by GitHub
parent a49e149daa
commit 17e41a8bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,4 +167,4 @@ class Control(Hermit, Minitouch, Scrcpy, MaaTouch):
logger.warning(f'Control method {method} does not support drag well, '
f'falling back to ADB swipe may cause unexpected behaviour')
self.swipe_adb(p1, p2, duration=ensure_time(swipe_duration * 2))
self.click(Button(area=(), color=(), button=area_offset(point_random, p2), name=name))
self.click(Button(area=(), color=(), button=area_offset(point_random, p2), name=name ),False)