Skip to content

Commit b2e089c

Browse files
[hui] Enable smooth = true for hui-text to fix 2k font rendering
1 parent a601ac9 commit b2e089c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hrt/ui/HuiText.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class HuiText extends h2d.HtmlText #if hui implements h2d.domkit.Object #end {
1010
super(hxd.res.DefaultFont.get(), parent);
1111
initComponent();
1212
this.text = text;
13+
smooth = true;
1314

1415
// Highlight text
1516
defineHtmlTag("h", 0x3185ce);

0 commit comments

Comments
 (0)