mirror of
https://github.com/ppy/osu
synced 2024-12-22 23:05:02 +00:00
test(TestSceneOsuTouchInput): fix InputTrigger
depth
This commit is contained in:
parent
c8afd057bd
commit
cf1ee2ba35
@ -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,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user