mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Avoid casting by accepting all Playfield
s but throwing on a bad choice
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
|
||||
using osu.Game.Rulesets.Catch.Edit.Blueprints;
|
||||
using osu.Game.Rulesets.Catch.Objects;
|
||||
using osu.Game.Rulesets.Catch.UI;
|
||||
using osu.Game.Rulesets.Edit;
|
||||
using osu.Game.Rulesets.Objects;
|
||||
using osu.Game.Screens.Edit.Compose.Components;
|
||||
@ -38,6 +37,6 @@ namespace osu.Game.Rulesets.Catch.Edit
|
||||
return base.CreateHitObjectBlueprintFor(hitObject);
|
||||
}
|
||||
|
||||
protected sealed override DragBox CreateDragBox() => new ScrollingDragBox((CatchPlayfield)Composer.Playfield);
|
||||
protected sealed override DragBox CreateDragBox() => new ScrollingDragBox(Composer.Playfield);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user