Remove `IToolboxAttachment` for now

The interface doesn't really do anything useful right now because
it enforces a common contract, but all usages of the contract
go through the concrete implementation, and it inflates
the already-huge diff.
This commit is contained in:
Bartłomiej Dach 2023-11-20 13:17:43 +09:00
parent affef85f25
commit 5d1bac6d7a
No known key found for this signature in database
3 changed files with 2 additions and 12 deletions

View File

@ -10,7 +10,7 @@
namespace osu.Game.Rulesets.Osu.Edit
{
public partial class OsuSliderDrawingSettingsProvider : Drawable, IToolboxAttachment
public partial class OsuSliderDrawingSettingsProvider : Drawable
{
public BindableFloat Tolerance { get; } = new BindableFloat(1.5f)
{

View File

@ -29,7 +29,7 @@
namespace osu.Game.Rulesets.Edit
{
public abstract partial class ComposerDistanceSnapProvider : Component, IDistanceSnapProvider, IScrollBindingHandler<GlobalAction>, IToolboxAttachment
public abstract partial class ComposerDistanceSnapProvider : Component, IDistanceSnapProvider, IScrollBindingHandler<GlobalAction>
{
private const float adjust_step = 0.1f;

View File

@ -1,10 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Edit
{
public interface IToolboxAttachment
{
void AttachToToolbox(ExpandingToolboxContainer toolbox);
}
}