Refactor HoverSampleDebounceComponent to inherit Component

This commit is contained in:
Joseph Madamba
2023-02-03 00:29:25 -08:00
parent f27bf3ca20
commit 5a76c1ab9c
2 changed files with 17 additions and 9 deletions

View File

@ -5,7 +5,7 @@
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Configuration;
using osuTK;
@ -15,7 +15,7 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// Handles debouncing hover sounds at a global level to ensure the effects are not overwhelming.
/// </summary>
public abstract partial class HoverSampleDebounceComponent : CompositeDrawable
public abstract partial class HoverSampleDebounceComponent : Component
{
private Bindable<double?> lastPlaybackTime;