fix:滑动过快导致没停下来就选人

This commit is contained in:
EightyDollars 2024-11-07 23:54:01 +08:00
parent 53dffc870d
commit c124b0a296

View file

@ -83,9 +83,7 @@ class BattleAgentChooseSolver(SceneGraphSolver):
self.agent = None
return
self.swipe_noinertia(
(1000, 540), (-1900, 0), duration=config.screenshot_avg / 100
)
self.swipe_noinertia((1000, 540), (-1900, 0))
self.tmp_data = list(agents.keys())[-1]