mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Add 'End replay' button
This commit is contained in:
parent
6d3533b777
commit
c34ef42f00
@ -218,6 +218,8 @@ namespace osu.Game.Screens.Play
|
||||
}
|
||||
};
|
||||
|
||||
hudOverlay.PlayerSettingsOverlay.PlaybackSettings.EndReplayButton.Action = Exit;
|
||||
|
||||
if (ShowStoryboard)
|
||||
initializeStoryboard(false);
|
||||
|
||||
|
@ -6,6 +6,7 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Timing;
|
||||
using osu.Game.Graphics.Sprites;
|
||||
using osu.Game.Overlays.Settings;
|
||||
|
||||
namespace osu.Game.Screens.Play.PlayerSettings
|
||||
{
|
||||
@ -18,6 +19,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
public IAdjustableClock AdjustableClock { set; get; }
|
||||
|
||||
private readonly PlayerSliderBar<double> sliderbar;
|
||||
public readonly SettingsButton EndReplayButton;
|
||||
|
||||
public PlaybackSettings()
|
||||
{
|
||||
@ -55,6 +57,10 @@ namespace osu.Game.Screens.Play.PlayerSettings
|
||||
MaxValue = 2,
|
||||
Precision = 0.1,
|
||||
},
|
||||
},
|
||||
EndReplayButton = new SettingsButton
|
||||
{
|
||||
Text = "End replay"
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user