mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Change fail effect to be less distracting
This commit is contained in:
@ -1,11 +1,8 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Linq;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Framework.Testing;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.Screens.Play.HUD;
|
||||
|
||||
@ -40,7 +37,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
public void TestLayerFading()
|
||||
{
|
||||
AddSliderStep("current health", 0.0, 1.0, 1.0, val => layer.Current.Value = val);
|
||||
var box = layer.ChildrenOfType<Box>().First();
|
||||
var box = layer.Child;
|
||||
|
||||
AddStep("set health to 0.10", () => layer.Current.Value = 0.10);
|
||||
AddWaitStep("wait for fade to finish", 5);
|
||||
|
Reference in New Issue
Block a user