perf.优化基建停止按钮的响应速度

This commit is contained in:
MistEO
2021-11-04 22:43:35 +08:00
parent 0dd6524da9
commit 70a1428fa3
6 changed files with 48 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ bool asst::InfrastOfficeTask::run()
constexpr int retry_times = 1;
for (int i = 0; i <= retry_times; ++i) {
if (need_exit()) {
return false;
}
swipe_to_the_left_of_operlist();
opers_detect_with_swipe();
swipe_to_the_left_of_operlist();