1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 21:40:49 +08:00

Fix exception type

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
Olivier Schipper
2024-06-20 17:27:38 +02:00
committed by GitHub
Unverified
parent 74399542d2
commit 4c6741e8aa
@@ -148,7 +148,7 @@ namespace osu.Game.Rulesets.Osu.Edit
break;
default:
throw new NotImplementedException($"{OsuGridToolboxGroup.GridType} has an incorrect value.");
throw new ArgumentOutOfRangeException(nameof(OsuGridToolboxGroup.GridType), OsuGridToolboxGroup.GridType, "Unsupported grid type.");
}
// Bind the start position to the toolbox sliders.