Merge pull request #2231 from fearlessxjdx/dev

perf: 加快相邻排班变化不大时的干员选取速度
This commit is contained in:
MistEO
2022-10-09 00:02:55 +08:00
committed by GitHub
5 changed files with 12 additions and 5 deletions

View File

@@ -184,7 +184,6 @@ bool asst::InfrastReceptionTask::shift()
if (need_exit()) {
return false;
}
click_clear_button();
if (is_use_custom_opers()) {
bool name_select_ret = swipe_and_select_custom_opers();
@@ -197,6 +196,8 @@ bool asst::InfrastReceptionTask::shift()
}
}
click_clear_button();
if (!opers_detect_with_swipe()) {
return false;
}