mirror of
https://github.com/osukey/osukey.git
synced 2025-05-05 21:57:24 +09:00
Cover case of incorrect display in test scene
This commit is contained in:
parent
03b5e78f61
commit
01f9966933
@ -50,6 +50,23 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
Accuracy = 0.998546
|
Accuracy = 0.998546
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var secondScore = new ScoreInfo
|
||||||
|
{
|
||||||
|
PP = 96.83,
|
||||||
|
Rank = ScoreRank.S,
|
||||||
|
Beatmap = new BeatmapInfo
|
||||||
|
{
|
||||||
|
Metadata = new BeatmapMetadata
|
||||||
|
{
|
||||||
|
Title = "Idolize",
|
||||||
|
Artist = "Creo"
|
||||||
|
},
|
||||||
|
Version = "Insane"
|
||||||
|
},
|
||||||
|
Date = DateTimeOffset.Now,
|
||||||
|
Accuracy = 0.9726
|
||||||
|
};
|
||||||
|
|
||||||
var noPPScore = new ScoreInfo
|
var noPPScore = new ScoreInfo
|
||||||
{
|
{
|
||||||
Rank = ScoreRank.B,
|
Rank = ScoreRank.B,
|
||||||
@ -78,7 +95,8 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
{
|
{
|
||||||
new ColourProvidedContainer(OverlayColourScheme.Green, new DrawableProfileScore(score)),
|
new ColourProvidedContainer(OverlayColourScheme.Green, new DrawableProfileScore(score)),
|
||||||
new ColourProvidedContainer(OverlayColourScheme.Pink, new DrawableProfileScore(noPPScore)),
|
new ColourProvidedContainer(OverlayColourScheme.Pink, new DrawableProfileScore(noPPScore)),
|
||||||
new ColourProvidedContainer(OverlayColourScheme.Pink, new DrawableProfileWeightedScore(score, 0.85))
|
new ColourProvidedContainer(OverlayColourScheme.Pink, new DrawableProfileWeightedScore(score, 0.85)),
|
||||||
|
new ColourProvidedContainer(OverlayColourScheme.Pink, new DrawableProfileWeightedScore(secondScore, 0.66)),
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user