mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08: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,
|
Depth = float.MinValue,
|
||||||
},
|
},
|
||||||
triggerLeft = new TestActionKeyCounterTrigger(OsuAction.LeftButton),
|
triggerLeft = new TestActionKeyCounterTrigger(OsuAction.LeftButton)
|
||||||
|
{
|
||||||
|
Depth = float.MinValue
|
||||||
|
},
|
||||||
triggerRight = new TestActionKeyCounterTrigger(OsuAction.RightButton)
|
triggerRight = new TestActionKeyCounterTrigger(OsuAction.RightButton)
|
||||||
|
{
|
||||||
|
Depth = float.MinValue
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -80,14 +86,12 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.CentreRight,
|
Origin = Anchor.CentreRight,
|
||||||
Depth = float.MinValue,
|
|
||||||
X = -100,
|
X = -100,
|
||||||
},
|
},
|
||||||
rightKeyCounter = new DefaultKeyCounter(triggerRight)
|
rightKeyCounter = new DefaultKeyCounter(triggerRight)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.Centre,
|
Anchor = Anchor.Centre,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Depth = float.MinValue,
|
|
||||||
X = 100,
|
X = 100,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user