opt.优化截图和点击接口

This commit is contained in:
MistEO
2022-01-18 10:43:41 +08:00
parent ba06216ddd
commit fb6ccca542
3 changed files with 23 additions and 16 deletions

View File

@@ -472,7 +472,7 @@ std::vector<uchar> asst::Assistant::get_image() const
bool asst::Assistant::ctrler_click(int x, int y, bool block)
{
Ctrler.click_without_scale(Point(x, y), block);
Ctrler.click(Point(x, y), block);
return true;
}