mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 09:22:58 +08:00
19 lines
715 B
C#
19 lines
715 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System.Threading;
|
|
using osu.Game.Configuration;
|
|
using osu.Game.Input.Bindings;
|
|
using osu.Game.Localisation;
|
|
|
|
namespace osu.Game.Overlays.OSD
|
|
{
|
|
public partial class SpeedChangeToast : Toast
|
|
{
|
|
public SpeedChangeToast(OsuConfigManager config, double newSpeed)
|
|
: base(CommonStrings.Beatmaps, ToastStrings.SpeedChangedTo + " " + newSpeed.ToString(Thread.CurrentThread.CurrentCulture), config.LookupKeyBindings(GlobalAction.IncreaseModSpeed) + " / " + config.LookupKeyBindings(GlobalAction.DecreaseModSpeed))
|
|
{
|
|
}
|
|
}
|
|
}
|