1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-29 01:22:54 +08:00

Merge pull request #1245 from smoogipooo/fix-mania-masking

Fix osu!mania note masking resulting in miss judgements not occurring.
This commit is contained in:
Dean Herbert 2017-09-12 09:58:10 +09:00 committed by GitHub
commit 19c8b2fef9

View File

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