From 3c98bc065fe73702b308032f8d55fe15ff09851d Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Tue, 12 Sep 2017 09:26:09 +0900 Subject: [PATCH] Fix osu!mania note masking resulting in miss judgements not occurring. --- osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs b/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs index 11d3f970c3..37d7566e43 100644 --- a/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs +++ b/osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs @@ -30,12 +30,12 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables { RelativeSizeAxes = Axes.X; AutoSizeAxes = Axes.Y; - Masking = true; Add(headPiece = new NotePiece { Anchor = Anchor.TopCentre, - Origin = Anchor.TopCentre + Origin = Anchor.TopCentre, + Masking = true }); } @@ -69,7 +69,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables if (!ApplyGlow) return; - EdgeEffect = new EdgeEffectParameters + headPiece.EdgeEffect = new EdgeEffectParameters { Type = EdgeEffectType.Glow, Colour = AccentColour.Opacity(0.5f),