mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 22:14:27 +08:00
Use Component instead of CompositeDrawable
This commit is contained in:
@@ -6,7 +6,6 @@ using osu.Framework.Allocation;
|
||||
using osu.Framework.Audio;
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input.Events;
|
||||
using osu.Framework.Threading;
|
||||
|
||||
@@ -15,7 +14,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
/// <summary>
|
||||
/// Represents a component that provides the behaviour of triggering button clicks repeatedly while holding with mouse.
|
||||
/// </summary>
|
||||
public class RepeatingButtonBehaviour : CompositeDrawable
|
||||
public class RepeatingButtonBehaviour : Component
|
||||
{
|
||||
private const double initial_delay = 300;
|
||||
private const double minimum_delay = 80;
|
||||
|
||||
Reference in New Issue
Block a user