swipe_update允许up_wait为0
This commit is contained in:
parent
166641ebee
commit
8362a31ffd
1 changed files with 3 additions and 2 deletions
|
@ -468,8 +468,9 @@ class BaseSolver:
|
||||||
"""
|
"""
|
||||||
if config.stop_mower.is_set():
|
if config.stop_mower.is_set():
|
||||||
raise MowerExit
|
raise MowerExit
|
||||||
points += points[-1:]
|
if up_wait > 0:
|
||||||
durations.append(up_wait)
|
points += points[-1:]
|
||||||
|
durations.append(up_wait)
|
||||||
return config.device.swipe_ext(points, durations, True, interval, func)
|
return config.device.swipe_ext(points, durations, True, interval, func)
|
||||||
|
|
||||||
def back(self, interval: float = 1) -> None:
|
def back(self, interval: float = 1) -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue