1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00
This commit is contained in:
smoogipooo 2017-05-23 17:58:12 +09:00
parent ae94e6ea85
commit 9255297075
2 changed files with 2 additions and 6 deletions

View File

@ -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;

View File

@ -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()