mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Move update icon to background to avoid colour collission with progress spinner
This commit is contained in:
parent
2b79e6b2de
commit
60b0b909a5
@ -226,6 +226,7 @@ namespace osu.Game.Overlays.Notifications
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Colour = colourProvider.Background5,
|
||||
Depth = float.MaxValue,
|
||||
},
|
||||
loadingSpinner = new LoadingSpinner
|
||||
{
|
||||
|
@ -132,11 +132,19 @@ namespace osu.Game.Updater
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Icon = FontAwesome.Solid.Upload,
|
||||
Size = new Vector2(14),
|
||||
Size = new Vector2(34),
|
||||
Colour = OsuColour.Gray(0.2f),
|
||||
Depth = float.MaxValue,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
StartDownload();
|
||||
}
|
||||
|
||||
public override void Close()
|
||||
{
|
||||
// cancelling updates is not currently supported by the underlying updater.
|
||||
|
Loading…
Reference in New Issue
Block a user