mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 15:03:21 +08:00
Apply review suggestions wrt border appearance
This commit is contained in:
parent
b7a56c8a45
commit
e1b763ff0d
@ -80,6 +80,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
|
|
||||||
Masking = true;
|
Masking = true;
|
||||||
CornerRadius = 5;
|
CornerRadius = 5;
|
||||||
|
CornerExponent = 2.5f;
|
||||||
|
|
||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
@ -178,7 +179,7 @@ namespace osu.Game.Graphics.UserInterfaceV2
|
|||||||
|
|
||||||
if (!disabled)
|
if (!disabled)
|
||||||
{
|
{
|
||||||
BorderThickness = IsHovered || textBox.Focused.Value ? 3 : 0;
|
BorderThickness = IsHovered || textBox.Focused.Value ? 2 : 0;
|
||||||
BorderColour = textBox.Focused.Value ? colourProvider.Highlight1 : colourProvider.Light4;
|
BorderColour = textBox.Focused.Value ? colourProvider.Highlight1 : colourProvider.Light4;
|
||||||
|
|
||||||
if (textBox.Focused.Value)
|
if (textBox.Focused.Value)
|
||||||
|
Loading…
Reference in New Issue
Block a user