mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09: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;
|
||||||
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;
|
||||||
|
Reference in New Issue
Block a user