1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 13:45:59 +08:00

Fix glow color potentially being set incorrectly when glowing

Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
Joseph Madamba 2021-08-19 20:33:19 -07:00 committed by GitHub
parent 1e02d61b85
commit 284c871e39
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.Opacity(0);
effect.Colour = Glowing ? value : value.Opacity(0);
EdgeEffect = effect;
}
}