Add flip event flow and stop passing raw input events to handle methods

This commit is contained in:
Dean Herbert
2020-10-01 16:25:29 +09:00
parent 983b693858
commit 78c5d57074
3 changed files with 21 additions and 13 deletions

View File

@ -16,8 +16,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
{
public class ComposeSelectionBox : CompositeDrawable
{
public Action<DragEvent> OnRotation;
public Action<DragEvent, Anchor> OnScale;
public Action<float> OnRotation;
public Action<Vector2, Anchor> OnScale;
public Action<Direction> OnFlip;
public Action OperationStarted;
public Action OperationEnded;