1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix colour picker antialiasing

This commit is contained in:
Andrei Zavatski 2021-08-05 14:07:35 +03:00
parent 53be31bcd1
commit e13a82ed63

View File

@ -89,8 +89,6 @@ namespace osu.Game.Graphics.UserInterfaceV2
{
SelectionArea.CornerRadius = corner_radius;
SelectionArea.Masking = true;
// purposefully use hard non-AA'd masking to avoid edge artifacts.
SelectionArea.MaskingSmoothness = 0;
}
protected override Marker CreateMarker() => new OsuMarker();