mirror of
https://github.com/ppy/osu
synced 2025-01-21 05:20:50 +00:00
Recolour CommentsShowMoreButton
This commit is contained in:
parent
12ca28ea6d
commit
68503bf771
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user