Recolour CommentsShowMoreButton

This commit is contained in:
Andrei Zavatski 2020-01-27 15:00:56 +03:00
parent 12ca28ea6d
commit 68503bf771

View File

@ -1,8 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // 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. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Comments namespace osu.Game.Overlays.Comments
@ -11,11 +11,12 @@ namespace osu.Game.Overlays.Comments
{ {
public readonly BindableInt Current = new BindableInt(); public readonly BindableInt Current = new BindableInt();
public CommentsShowMoreButton() [BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider)
{ {
IdleColour = OsuColour.Gray(0.3f); IdleColour = colourProvider.Background2;
HoverColour = OsuColour.Gray(0.4f); HoverColour = colourProvider.Background1;
ChevronIconColour = OsuColour.Gray(0.5f); ChevronIconColour = colourProvider.Foreground1;
} }
protected override void LoadComplete() protected override void LoadComplete()