mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-22 01:34:21 +00:00
Font: Remove unnecessary conversion from point-height to juce-height when using FontOptions
This commit is contained in:
parent
5b2f9d4019
commit
365e8a235d
1 changed files with 0 additions and 3 deletions
|
|
@ -372,9 +372,6 @@ auto legacyArgs (Args&&... args)
|
|||
if (result.getName().isEmpty())
|
||||
result = result.withName (Font::getDefaultSansSerifFontName());
|
||||
|
||||
if (result.getPointHeight() > 0.0f)
|
||||
result = result.withHeight (result.getPointHeight());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue