mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:15:36 +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>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Graphics;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
|
||||
private readonly Box innerFill;
|
||||
|
||||
private bool isRim;
|
||||
private readonly bool isRim;
|
||||
|
||||
public HitExplosion(TaikoJudgement judgement, bool isRim)
|
||||
{
|
||||
@ -56,10 +56,7 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
if (isRim)
|
||||
innerFill.Colour = colours.BlueDarker;
|
||||
else
|
||||
innerFill.Colour = colours.PinkDarker;
|
||||
innerFill.Colour = isRim ? colours.BlueDarker : colours.PinkDarker;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Loading…
Reference in New Issue
Block a user