Fix SliderPath not handling Clear correctly

This commit is contained in:
Dean Herbert
2020-10-09 06:31:59 +09:00
parent 85b33fffd0
commit eacc7dca9a
2 changed files with 7 additions and 0 deletions

View File

@ -159,6 +159,12 @@ namespace osu.Game.Screens.Edit.Compose.Components
/// <returns>Whether any <see cref="DrawableHitObject"/>s could be flipped.</returns>
public virtual bool HandleFlip(Direction direction) => false;
/// <summary>
/// Handles the selected <see cref="DrawableHitObject"/>s being reversed pattern-wise.
/// </summary>
/// <returns>Whether any <see cref="DrawableHitObject"/>s could be reversed.</returns>
public virtual bool HandleReverse() => false;
public bool OnPressed(PlatformAction action)
{
switch (action.ActionMethod)