From 301a8675cf991f10f7ea7b3b1fb349c1dbb2ce49 Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:05:22 +0530 Subject: [PATCH] make all this follow ui scale --- src/gui/HtmlText.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/HtmlText.hx b/src/gui/HtmlText.hx index 4ad0763d..b16c5bd9 100644 --- a/src/gui/HtmlText.hx +++ b/src/gui/HtmlText.hx @@ -8,6 +8,7 @@ import h2d.RenderContext; import h2d.Interactive; import h2d.Object; import h2d.Text; +import src.Settings; /** The `HtmlText` line height calculation rules. @@ -736,7 +737,7 @@ class HtmlText extends Text { switch (a.toLowerCase()) { case "value": var v = e.get(a); - if (v != null) xPos = Std.parseFloat(v); + if (v != null) xPos = Std.parseFloat(v) * Settings.uiScale; default: } }