mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix hard crash on hitting an out of range key (Q~P)
This commit is contained in:
@ -205,7 +205,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
|
||||
if (checkRightToggleFromKey(e.Key, out var rightIndex))
|
||||
{
|
||||
var item = togglesCollection.Children[rightIndex];
|
||||
var item = togglesCollection.ElementAtOrDefault(rightIndex);
|
||||
|
||||
if (item is SettingsCheckbox checkbox)
|
||||
{
|
||||
|
Reference in New Issue
Block a user