Merge pull request #14403 from Joehuu/fix-nub-glow

Fix nub glow color not having 0 alpha when being set
This commit is contained in:
Dean Herbert 2021-08-20 15:07:30 +09:00 committed by GitHub
commit 659ec0c1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ namespace osu.Game.Graphics.UserInterface
glowColour = value;
var effect = EdgeEffect;
effect.Colour = value;
effect.Colour = Glowing ? value : value.Opacity(0);
EdgeEffect = effect;
}
}