mirror of
https://github.com/osukey/osukey.git
synced 2025-07-04 01:40:02 +09:00
Fix possible nullref
This commit is contained in:
@ -301,6 +301,9 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (expandedPanel == null)
|
||||
return base.OnKeyDown(e);
|
||||
|
||||
var expandedPanelIndex = flow.GetPanelIndex(expandedPanel.Score);
|
||||
|
||||
switch (e.Key)
|
||||
|
Reference in New Issue
Block a user