mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
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:
commit
659ec0c1b8
@ -149,7 +149,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
glowColour = value;
|
glowColour = value;
|
||||||
|
|
||||||
var effect = EdgeEffect;
|
var effect = EdgeEffect;
|
||||||
effect.Colour = value;
|
effect.Colour = Glowing ? value : value.Opacity(0);
|
||||||
EdgeEffect = effect;
|
EdgeEffect = effect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user