Scale map icons with font size

This commit is contained in:
Shatyuka 2022-09-07 01:02:27 +08:00
parent 5f73a7a915
commit 7c24f53b11

View File

@ -1476,6 +1476,9 @@ namespace cheat::feature
static void RenderPointCircle(const ImVec2& position, ImTextureID textureID, float transparency, float radius, bool isCustom = false)
{
auto& settings = feature::Settings::GetInstance();
radius *= settings.f_FontSize / 16.0f;
ImVec2 imageStartPos = position - radius;
ImVec2 imageEndPos = position + radius;