1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 05:47:19 +08:00

Simplify expression

This commit is contained in:
smoogipoo 2019-02-21 19:25:08 +09:00
parent be9be5dee2
commit d99eaa3fce

View File

@ -96,7 +96,7 @@ namespace osu.Game.Tests.Visual
return true;
}
bool isItalic() => newLine.ContentFlow.Where(d => d is OsuSpriteText).Cast<OsuSpriteText>().All(sprite => sprite.Font.FontName == "Exo2.0-MediumItalic");
bool isItalic() => newLine.ContentFlow.Where(d => d is OsuSpriteText).Cast<OsuSpriteText>().All(sprite => sprite.Font.Italics);
bool isShowingLinks()
{