1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 20:44:48 +08:00

Merge pull request #4589 from nyquillerium/button_fix

Fix visual issue with rapidly switching between menu button states

Co-authored-by: Dean Herbert <pe@ppy.sh>
This commit is contained in:
Dean Herbert
2019-04-05 20:59:54 +09:00
committed by GitHub
Unverified
+2
View File
@@ -63,6 +63,8 @@ namespace osu.Game.Screens.Menu
{
box = new Container
{
// box needs to be always present to ensure the button is always sized correctly for flow
AlwaysPresent = true,
Masking = true,
MaskingSmoothness = 2,
EdgeEffect = new EdgeEffectParameters