chore: add logs

This commit is contained in:
MistEO
2025-11-07 09:38:00 +08:00
committed by GitHub
parent 87ddcdf8e6
commit 26502d1e54

View File

@@ -192,6 +192,7 @@ asst::Point asst::ControlScaleProxy::rand_point_in_rect(const Rect& r)
return { x, y };
}
LogWarn << "Too many sampling attempts";
// 返回中心点
return { r.x + r.width / 2, r.y + r.height / 2 };
}