From 736079a60da5fb8e948140e5cd283a7f8cf23396 Mon Sep 17 00:00:00 2001 From: Huo Yaoyuan Date: Mon, 7 Nov 2016 19:00:20 +0800 Subject: [PATCH] Update FontAwesome usage. --- osu.Game/Overlays/MusicController.cs | 10 +++++----- osu.Game/Overlays/Toolbar.cs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game/Overlays/MusicController.cs b/osu.Game/Overlays/MusicController.cs index f77d851543..632e643a10 100644 --- a/osu.Game/Overlays/MusicController.cs +++ b/osu.Game/Overlays/MusicController.cs @@ -98,7 +98,7 @@ namespace osu.Game.Overlays playButton = new TextAwesome { TextSize = 30, - Icon = FontAwesome.play_circle_o, + Icon = FontAwesome.fa_play_circle_o, Origin = Anchor.Centre, Anchor = Anchor.Centre } @@ -116,7 +116,7 @@ namespace osu.Game.Overlays new TextAwesome { TextSize = 15, - Icon = FontAwesome.step_backward, + Icon = FontAwesome.fa_step_backward, Origin = Anchor.Centre, Anchor = Anchor.Centre } @@ -134,7 +134,7 @@ namespace osu.Game.Overlays new TextAwesome { TextSize = 15, - Icon = FontAwesome.step_forward, + Icon = FontAwesome.fa_step_forward, Origin = Anchor.Centre, Anchor = Anchor.Centre } @@ -151,7 +151,7 @@ namespace osu.Game.Overlays listButton = new TextAwesome { TextSize = 15, - Icon = FontAwesome.bars, + Icon = FontAwesome.fa_bars, Origin = Anchor.Centre, Anchor = Anchor.Centre } @@ -199,7 +199,7 @@ namespace osu.Game.Overlays if (current?.Track == null) return; progress.UpdatePosition((float)(current.Track.CurrentTime / current.Track.Length)); - playButton.Icon = current.Track.IsRunning ? FontAwesome.pause : FontAwesome.play_circle_o; + playButton.Icon = current.Track.IsRunning ? FontAwesome.fa_pause_circle_o : FontAwesome.fa_play_circle_o; if (current.Track.HasCompleted && !current.Track.Looping) next(); } diff --git a/osu.Game/Overlays/Toolbar.cs b/osu.Game/Overlays/Toolbar.cs index 2af9466b56..f4c5d356dd 100644 --- a/osu.Game/Overlays/Toolbar.cs +++ b/osu.Game/Overlays/Toolbar.cs @@ -88,7 +88,7 @@ namespace osu.Game.Overlays { new ToolbarButton { - Icon = FontAwesome.music, + Icon = FontAwesome.fa_music, Action = () => OnMusicController?.Invoke() }, new ToolbarButton