mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00: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))
|
|
{
|
|
}
|
|
}
|
|
}
|