mirror of https://github.com/ppy/osu
Fix Toolbar's mode changer not working correctly.
This commit is contained in:
parent
d74a601180
commit
ef8a35f5cc
|
@ -55,7 +55,10 @@ public Toolbar()
|
||||||
},
|
},
|
||||||
modeSelector = new ToolbarModeSelector
|
modeSelector = new ToolbarModeSelector
|
||||||
{
|
{
|
||||||
OnPlayModeChange = OnPlayModeChange
|
OnPlayModeChange = (PlayMode mode) =>
|
||||||
|
{
|
||||||
|
OnPlayModeChange?.Invoke(mode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue