mirror of https://github.com/ppy/osu
test(TestSceneOsuTouchInput): fix `InputTrigger` depth
This commit is contained in:
parent
c8afd057bd
commit
cf1ee2ba35
|
@ -66,8 +66,14 @@ public void SetUpSteps()
|
|||
{
|
||||
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 @@ public void SetUpSteps()
|
|||
{
|
||||
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