perf.优化掉基建一些不必要的滑动

This commit is contained in:
MistEO
2021-11-21 00:26:46 +08:00
parent 2024bc9192
commit c19fad7c6e
2 changed files with 1 additions and 7 deletions

View File

@@ -672,13 +672,6 @@
"action": "doNothing",
"next": [
"InfrastNotification",
"InfrastSwipeToTheLeft"
]
},
"InfrastSwipeToTheLeft": {
"algorithm": "justReturn",
"action": "swipeToTheLeft",
"next": [
"Stop"
]
},

View File

@@ -14,6 +14,7 @@ bool asst::InfrastInfoTask::run()
};
m_callback(AsstMsg::TaskStart, task_start_json, m_callback_arg);
swipe_to_the_left_of_main_ui();
const auto& image = ctrler.get_image();
InfrastFacilityImageAnalyzer analyzer(image);