Scale map icons with font size
This commit is contained in:
parent
5f73a7a915
commit
7c24f53b11
@ -1476,6 +1476,9 @@ namespace cheat::feature
|
|||||||
|
|
||||||
static void RenderPointCircle(const ImVec2& position, ImTextureID textureID, float transparency, float radius, bool isCustom = false)
|
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 imageStartPos = position - radius;
|
||||||
ImVec2 imageEndPos = position + radius;
|
ImVec2 imageEndPos = position + radius;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user