mirror of
https://github.com/ppy/osu
synced 2025-03-11 05:49:12 +00:00
Simplify expression
This commit is contained in:
parent
be9be5dee2
commit
d99eaa3fce
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user