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

Apply review suggestions wrt border appearance

This commit is contained in:
Bartłomiej Dach 2024-09-05 11:21:59 +02:00
parent b7a56c8a45
commit e1b763ff0d
No known key found for this signature in database

View File

@ -80,6 +80,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
Masking = true;
CornerRadius = 5;
CornerExponent = 2.5f;
InternalChildren = new Drawable[]
{
@ -178,7 +179,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
if (!disabled)
{
BorderThickness = IsHovered || textBox.Focused.Value ? 3 : 0;
BorderThickness = IsHovered || textBox.Focused.Value ? 2 : 0;
BorderColour = textBox.Focused.Value ? colourProvider.Highlight1 : colourProvider.Light4;
if (textBox.Focused.Value)