We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5736b9c commit 301a867Copy full SHA for 301a867
1 file changed
src/gui/HtmlText.hx
@@ -8,6 +8,7 @@ import h2d.RenderContext;
8
import h2d.Interactive;
9
import h2d.Object;
10
import h2d.Text;
11
+import src.Settings;
12
13
/**
14
The `HtmlText` line height calculation rules.
@@ -736,7 +737,7 @@ class HtmlText extends Text {
736
737
switch (a.toLowerCase()) {
738
case "value":
739
var v = e.get(a);
- if (v != null) xPos = Std.parseFloat(v);
740
+ if (v != null) xPos = Std.parseFloat(v) * Settings.uiScale;
741
default:
742
}
743
0 commit comments