1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 14:22:08 +08:00

Merge pull request #14732 from AbstractQbit/fix-checkbox-nub-artefact

Fix dimmed checked nub artifact
This commit is contained in:
Dean Herbert
2021-09-13 21:54:39 +09:00
committed by GitHub
Unverified
+5 -1
View File
@@ -46,7 +46,11 @@ namespace osu.Game.Graphics.UserInterface
},
};
Current.ValueChanged += filled => fill.FadeTo(filled.NewValue ? 1 : 0, 200, Easing.OutQuint);
Current.ValueChanged += filled =>
{
fill.FadeTo(filled.NewValue ? 1 : 0, 200, Easing.OutQuint);
this.TransformTo(nameof(BorderThickness), filled.NewValue ? 8.5f : border_width, 200, Easing.OutQuint);
};
}
[BackgroundDependencyLoader]