mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Use 10% alpha rather than 0% when toolbox is not hovered
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user