mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix: 快速编队向左滑动后等待可能的画面回弹
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "Utils/Ranges.hpp"
|
||||
|
||||
#include "Config/GeneralConfig.h"
|
||||
#include "Config/Miscellaneous/BattleDataConfig.h"
|
||||
#include "Config/Miscellaneous/CopilotConfig.h"
|
||||
#include "Config/Miscellaneous/SSSCopilotConfig.h"
|
||||
@@ -408,6 +409,7 @@ void asst::BattleFormationTask::swipe_to_the_left(int times)
|
||||
for (int i = 0; i < times; ++i) {
|
||||
ProcessTask(*this, { "BattleFormationOperListSwipeToTheLeft" }).run();
|
||||
}
|
||||
sleep(Config.get_options().task_delay); // 可能有界面回弹,睡一会儿
|
||||
}
|
||||
|
||||
bool asst::BattleFormationTask::confirm_selection()
|
||||
|
||||
Reference in New Issue
Block a user