Support decimal values in Font sizes
This commit is contained in:
@@ -304,6 +304,6 @@ void SplashScreen::OnFontLoaded(Asset* asset)
|
||||
|
||||
// Create fonts
|
||||
const float s = _dpiScale;
|
||||
_titleFont = font->CreateFont((uint32)(35 * s));
|
||||
_subtitleFont = font->CreateFont((uint32)(9 * s));
|
||||
_titleFont = font->CreateFont(35 * s);
|
||||
_subtitleFont = font->CreateFont(9 * s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user