mirror of
https://github.com/SunsetMkt/Akebi-GC.git
synced 2025-09-19 12:06:04 +08:00
Scale map icons with font size
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user