Change distance spacing keybind to Ctrl+Alt

This commit is contained in:
Salman Ahmed
2022-04-27 17:11:23 +03:00
parent 0738cd028f
commit 66c730c382
2 changed files with 4 additions and 5 deletions

View File

@ -95,14 +95,14 @@ namespace osu.Game.Tests.Visual.Editing
AddStep("retrieve original spacing", () => originalSpacing = (float)editorBeatmap.BeatmapInfo.DistanceSpacing);
AddStep("hold ctrl", () => InputManager.PressKey(Key.LControl));
AddStep("hold alt", () => InputManager.PressKey(Key.LAlt));
AddStep("hold D", () => InputManager.PressKey(Key.D));
AddStep("scroll mouse 5 steps", () => InputManager.ScrollVerticalBy(5));
AddAssert("distance spacing increased by 0.5", () => Precision.AlmostEquals(editorBeatmap.BeatmapInfo.DistanceSpacing, originalSpacing + 0.5f));
AddStep("release alt", () => InputManager.ReleaseKey(Key.LAlt));
AddStep("release D", () => InputManager.ReleaseKey(Key.D));
AddStep("release ctrl", () => InputManager.ReleaseKey(Key.LControl));
}
public class EditorBeatmapContainer : Container