mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Remove commented out italic code
It's a holdover from the Exo days (anyone remember those?) and hasn't been relevant for years, so why keep it.
This commit is contained in:
parent
cdaff30aa6
commit
d97ae8df6a
@ -106,11 +106,8 @@ namespace osu.Game.Tests.Visual.Online
|
||||
});
|
||||
|
||||
AddAssert("msg has the right action", () => newLine.Message.Links.Select(l => l.Action), () => Is.EqualTo(expectedActions));
|
||||
//AddAssert("msg is " + (isAction ? "italic" : "not italic"), () => newLine.ContentFlow.Any() && isAction == isItalic());
|
||||
AddAssert($"msg shows {expectedActions.Length} link(s)", isShowingLinks);
|
||||
|
||||
//bool isItalic() => newLine.ContentFlow.Where(d => d is OsuSpriteText).Cast<OsuSpriteText>().All(sprite => sprite.Font.Italics);
|
||||
|
||||
bool isShowingLinks()
|
||||
{
|
||||
bool hasBackground = !string.IsNullOrEmpty(newLine.Message.Sender.Colour);
|
||||
|
Loading…
Reference in New Issue
Block a user