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.CornerRadius = corner_radius;
SelectionArea.Masking = true; SelectionArea.Masking = true;
// purposefully use hard non-AA'd masking to avoid edge artifacts.
SelectionArea.MaskingSmoothness = 0;
} }
protected override Marker CreateMarker() => new OsuMarker(); protected override Marker CreateMarker() => new OsuMarker();