mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Let CatchHitObjectComposer
inherit from DistancedHitObjectComposer
and hide control
This commit is contained in:
@ -24,10 +24,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Rulesets.Catch.Edit
|
||||
{
|
||||
/// <remarks>
|
||||
/// todo: should inherit <see cref="IDistanceSnapProvider"/> once it supports distance spacing properly.
|
||||
/// </remarks>
|
||||
public class CatchHitObjectComposer : HitObjectComposer<CatchHitObject>
|
||||
public class CatchHitObjectComposer : DistancedHitObjectComposer<CatchHitObject>
|
||||
{
|
||||
private const float distance_snap_radius = 50;
|
||||
|
||||
@ -45,6 +42,10 @@ namespace osu.Game.Rulesets.Catch.Edit
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
// todo: enable distance spacing once catch supports it.
|
||||
RightSideToolboxContainer.Alpha = 0;
|
||||
DistanceSpacingMultiplier.Disabled = true;
|
||||
|
||||
LayerBelowRuleset.Add(new PlayfieldBorder
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
Reference in New Issue
Block a user