1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +08:00

Remove weird red edge effect visibility

This commit is contained in:
Joseph Madamba 2023-09-04 15:02:00 -07:00
parent e0a9c7e9a9
commit 854bb323cc
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -7,7 +7,6 @@ using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Testing;
@ -94,17 +93,6 @@ namespace osu.Game.Tests.Visual.SongSelect
[Test]
public void TestWedgeVisibility()
{
// Mostly just in case someone runs this test before others,
// leading to the shadow being very hard to see if it is black
AddStep("make shadow red for test visibility", () =>
{
infoWedge.EdgeEffect = new EdgeEffectParameters
{
Colour = Colour4.Red,
Type = EdgeEffectType.Shadow,
Radius = 5,
};
});
AddStep("hide", () => { infoWedge.Hide(); });
AddWaitStep("wait for hide", 3);
AddAssert("check visibility", () => infoWedge.Alpha == 0);