1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 03:57:46 +08:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1.0 KiB
C#
Raw Normal View History

// 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.
2018-04-13 18:19:50 +09:00
using osu.Framework.Allocation;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays;
using osu.Game.Screens.Edit.Timing;
2018-04-13 18:19:50 +09:00
2018-11-06 18:28:22 +09:00
namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
public partial class TimelineButton : IconButton
{
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider)
{
// These are using colourProvider but don't match the design.
// Just something to fit until someone implements the updated design.
IconColour = colourProvider.Background1;
IconHoverColour = colourProvider.Content2;
2018-04-13 18:19:50 +09:00
HoverColour = colourProvider.Background1;
FlashColour = colourProvider.Content2;
2018-04-13 18:19:50 +09:00
Add(new RepeatingButtonBehaviour(this));
}
2018-07-13 16:28:18 +09:00
protected override HoverSounds CreateHoverSounds(HoverSampleSet sampleSet) => new HoverSounds(sampleSet);
}
}