mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Remove weird red edge effect visibility
This commit is contained in:
parent
e0a9c7e9a9
commit
854bb323cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user