mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 11:36:30 +03:00
UITooltip small fix.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user