Scale map icons with font size
This commit is contained in:
parent
f3053b0a63
commit
66ad26344f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user