mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 14:23:14 +08:00
Fix glow color potentially being set incorrectly when glowing
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
This commit is contained in:
parent
1e02d61b85
commit
284c871e39
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user