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