mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Expose AccentColour/GlowColour from hud elements, and set from HudOverlay.
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using System;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Transforms;
|
||||
@ -38,12 +39,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Current.Value = Current + amount;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
DisplayedCountSpriteText.Colour = colours.BlueLighter;
|
||||
}
|
||||
|
||||
protected class TransformCount : Transform<int>
|
||||
{
|
||||
public override int CurrentValue
|
||||
|
Reference in New Issue
Block a user