mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
Fix possible nullref
This commit is contained in:
parent
7688ea7057
commit
401d38fc05
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user