mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +08:00
Cleanup.
This commit is contained in:
parent
ae94e6ea85
commit
9255297075
@ -1,7 +1,6 @@
|
|||||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using osu.Framework.Graphics.Containers;
|
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
|
|
||||||
private readonly Box innerFill;
|
private readonly Box innerFill;
|
||||||
|
|
||||||
private bool isRim;
|
private readonly bool isRim;
|
||||||
|
|
||||||
public HitExplosion(TaikoJudgement judgement, bool isRim)
|
public HitExplosion(TaikoJudgement judgement, bool isRim)
|
||||||
{
|
{
|
||||||
@ -56,10 +56,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
if (isRim)
|
innerFill.Colour = isRim ? colours.BlueDarker : colours.PinkDarker;
|
||||||
innerFill.Colour = colours.BlueDarker;
|
|
||||||
else
|
|
||||||
innerFill.Colour = colours.PinkDarker;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
|
Loading…
Reference in New Issue
Block a user