mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 12:43:16 +08:00
Use 10% alpha rather than 0% when toolbox is not hovered
This commit is contained in:
parent
a93c350ca8
commit
2404bb42b9
@ -80,7 +80,7 @@ namespace osu.Game.Overlays
|
||||
background = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Alpha = 0,
|
||||
Alpha = 0.1f,
|
||||
Colour = colourProvider?.Background5 ?? Color4.Black,
|
||||
},
|
||||
new FillFlowContainer
|
||||
@ -184,7 +184,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
const float fade_duration = 500;
|
||||
|
||||
background.FadeTo(IsHovered ? 1 : 0, fade_duration, Easing.OutQuint);
|
||||
background.FadeTo(IsHovered ? 1 : 0.1f, fade_duration, Easing.OutQuint);
|
||||
expandButton.FadeTo(IsHovered ? 1 : 0, fade_duration, Easing.OutQuint);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user