UITooltip small fix.

This commit is contained in:
Martín Lucas Golini
2023-01-09 23:58:06 -03:00
parent e1d3f8d9dd
commit 1fdb074233

View File

@@ -469,13 +469,13 @@ bool UITooltip::applyProperty( const StyleSheetProperty& attribute ) {
case PropertyId::FontFamily: {
Font* font = FontManager::instance()->getByName( attribute.asString() );
if ( NULL != font && font->loaded() ) {
if ( !mUsingCustomStyling && NULL != font && font->loaded() )
setFont( font );
}
break;
}
case PropertyId::FontSize:
setFontSize( attribute.asDpDimensionI() );
if ( !mUsingCustomStyling )
setFontSize( attribute.asDpDimensionI() );
break;
case PropertyId::FontStyle:
if ( !mUsingCustomStyling )