Skip to content

Commit

Permalink
reenable prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
j committed Oct 17, 2024
1 parent ef013e9 commit 1a998a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/backend/TextDisplayImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TextDisplayImpl extends TextBase {

if (_textStyle.fontSize != null) {
var presize = Screen.instance.options.prerender_font_size;
//text_visual.preRenderedSize = Std.int(_textStyle.fontSize * presize);
text_visual.preRenderedSize = Std.int(_textStyle.fontSize * presize);
text_visual.pointSize = Std.int(_textStyle.fontSize);
measureTextRequired = true;
}
Expand Down

0 comments on commit 1a998a2

Please sign in to comment.