1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 16:07:24 +08:00

test(TestSceneOsuTouchInput): fix InputTrigger depth

This commit is contained in:
tsrk 2023-06-18 18:26:08 +02:00
parent c8afd057bd
commit cf1ee2ba35
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -66,8 +66,14 @@ namespace osu.Game.Rulesets.Osu.Tests
{
Depth = float.MinValue,
},
triggerLeft = new TestActionKeyCounterTrigger(OsuAction.LeftButton),
triggerLeft = new TestActionKeyCounterTrigger(OsuAction.LeftButton)
{
Depth = float.MinValue
},
triggerRight = new TestActionKeyCounterTrigger(OsuAction.RightButton)
{
Depth = float.MinValue
}
},
},
},
@ -80,14 +86,12 @@ namespace osu.Game.Rulesets.Osu.Tests
{
Anchor = Anchor.Centre,
Origin = Anchor.CentreRight,
Depth = float.MinValue,
X = -100,
},
rightKeyCounter = new DefaultKeyCounter(triggerRight)
{
Anchor = Anchor.Centre,
Origin = Anchor.CentreLeft,
Depth = float.MinValue,
X = 100,
},
});