mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:23:32 +08:00
Remove unnecessary precondition check and disallow vertical catch flips for now
This commit is contained in:
parent
ee24713002
commit
5c0494f3ba
@ -54,7 +54,11 @@ namespace osu.Game.Rulesets.Catch.Edit
|
|||||||
|
|
||||||
public override bool HandleFlip(Direction direction, bool flipOverOrigin)
|
public override bool HandleFlip(Direction direction, bool flipOverOrigin)
|
||||||
{
|
{
|
||||||
if (SelectedItems.Count == 0 && !flipOverOrigin)
|
if (SelectedItems.Count == 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
// This could be implemented in the future if there's a requirement for it.
|
||||||
|
if (direction == Direction.Vertical)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var selectionRange = CatchHitObjectUtils.GetPositionRange(SelectedItems);
|
var selectionRange = CatchHitObjectUtils.GetPositionRange(SelectedItems);
|
||||||
|
Loading…
Reference in New Issue
Block a user