mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:15:36 +08:00
Remove left/right click based placement in taiko editor and respect sample selection
This commit is contained in:
parent
43d7386623
commit
be79ea1c10
@ -35,20 +35,8 @@ namespace osu.Game.Rulesets.Taiko.Edit.Blueprints
|
|||||||
|
|
||||||
protected override bool OnMouseDown(MouseDownEvent e)
|
protected override bool OnMouseDown(MouseDownEvent e)
|
||||||
{
|
{
|
||||||
switch (e.Button)
|
EndPlacement(true);
|
||||||
{
|
return true;
|
||||||
case MouseButton.Left:
|
|
||||||
HitObject.Type = HitType.Centre;
|
|
||||||
EndPlacement(true);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
case MouseButton.Right:
|
|
||||||
HitObject.Type = HitType.Rim;
|
|
||||||
EndPlacement(true);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void UpdateTimeAndPosition(SnapResult result)
|
public override void UpdateTimeAndPosition(SnapResult result)
|
||||||
|
Loading…
Reference in New Issue
Block a user