feat: 连接时返回模拟器分辨率,en 服使用非 1080p 时警告

This commit is contained in:
uye
2026-03-11 19:38:51 +08:00
parent 4b595ab6b9
commit fea3b9371f
2 changed files with 15 additions and 0 deletions

View File

@@ -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)