mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
feat: 连接时返回模拟器分辨率,en 服使用非 1080p 时警告
This commit is contained in:
@@ -56,6 +56,10 @@ asst::ControlScaleProxy::ControlScaleProxy(
|
||||
m_scale_size = std::make_pair(WindowWidthDefault, scale_height);
|
||||
m_control_scale = static_cast<double>(width) / static_cast<double>(WindowWidthDefault);
|
||||
}
|
||||
|
||||
info["what"] = "ResolutionInfo";
|
||||
info["why"] = "Normal";
|
||||
callback(info);
|
||||
}
|
||||
|
||||
bool asst::ControlScaleProxy::click(const Point& p)
|
||||
|
||||
Reference in New Issue
Block a user