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

Make colour palette things circular again

This commit is contained in:
Bartłomiej Dach 2024-10-03 14:35:03 +02:00
parent 2c0a7d4c18
commit 090c8ee602
No known key found for this signature in database

View File

@ -77,7 +77,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
Child = button = new RoundedButton Child = button = new RoundedButton
{ {
Action = () => Colours.Add(Colour4.White), Action = () => Colours.Add(Colour4.White),
Size = new Vector2(70, 25), Size = new Vector2(70),
Text = "+", Text = "+",
} }
} }
@ -149,10 +149,10 @@ namespace osu.Game.Graphics.UserInterfaceV2
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
Size = new Vector2(70, 25); Size = new Vector2(70);
Masking = true; Masking = true;
CornerRadius = 12.5f; CornerRadius = 35;
Action = this.ShowPopover; Action = this.ShowPopover;
Children = new Drawable[] Children = new Drawable[]