fix: 全局减小adb滑动距离

糊屎!
This commit is contained in:
MistEO
2023-05-21 01:19:12 +08:00
parent f9216a25b9
commit 3fa6fd6340
7 changed files with 30 additions and 11 deletions

View File

@@ -186,7 +186,7 @@ bool asst::Controller::connect(const std::string& adb_path, const std::string& a
};
try {
m_scale_proxy = std::make_shared<ControlScaleProxy>(m_controller, proxy_callback);
m_scale_proxy = std::make_shared<ControlScaleProxy>(m_controller, m_controller_type, proxy_callback);
}
catch (const std::exception& e) {
Log.error("Cannot create controller proxy: {}", e.what());