Skip to content

Commit

Permalink
Font: Set 72 as default dpi for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dimensionscape committed Oct 30, 2024
1 parent 579efa5 commit 2f99776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lime/text/Font.hx
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ class Font
}
#end

@:noCompletion private function __setSize(size:Int, dpi:Int):Void
@:noCompletion private function __setSize(size:Int, dpi:Int = 72):Void
{
#if (lime_cffi && !macro)
NativeCFFI.lime_font_set_size(src, size);
Expand Down

0 comments on commit 2f99776

Please sign in to comment.