mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 19:27:26 +08:00
18 lines
656 B
C#
18 lines
656 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 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(ModSelectOverlayStrings.ModCustomisation, ToastStrings.SpeedChangedTo(newSpeed), config.LookupKeyBindings(GlobalAction.IncreaseModSpeed) + " / " + config.LookupKeyBindings(GlobalAction.DecreaseModSpeed))
|
|
{
|
|
}
|
|
}
|
|
}
|