mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix.修复一些掉落识别错误的情况
This commit is contained in:
@@ -368,7 +368,7 @@ void asst::Controller::clear_info() noexcept
|
||||
m_width = 0;
|
||||
m_height = 0;
|
||||
m_control_scale = 1.0;
|
||||
m_scale_size = decltype(m_scale_size)();
|
||||
m_scale_size = { WindowWidthDefault, WindowHeightDefault };
|
||||
}
|
||||
|
||||
int asst::Controller::push_cmd(const std::string& cmd)
|
||||
@@ -395,7 +395,7 @@ bool asst::Controller::screencap()
|
||||
|
||||
//if (true) {
|
||||
// std::unique_lock<std::shared_mutex> image_lock(m_image_mutex);
|
||||
// m_cache_image = cv::imread("err.png");
|
||||
// m_cache_image = cv::imread("err/1.png");
|
||||
// return true;
|
||||
//}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user