1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-10 15:43:02 +08:00

fix anti-aliased white leaking out of the button

This commit is contained in:
OliBomby 2024-08-13 22:13:17 +02:00
parent 2abcdd0064
commit 10f2ac6490

View File

@ -5,7 +5,7 @@ using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics.Sprites;
using osu.Game.Rulesets.Edit;
namespace osu.Game.Screens.Edit.Components.TernaryButtons
{
@ -67,7 +67,7 @@ namespace osu.Game.Screens.Edit.Components.TernaryButtons
Icon.X = 4.5f;
}
protected override SpriteText CreateText() => new OsuSpriteText
protected override SpriteText CreateText() => new ExpandableSpriteText
{
Depth = -1,
Origin = Anchor.CentreLeft,