mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 01:43:15 +08:00
Cancel pending sidebar expansion when a button is clicked
This commit is contained in:
parent
5d07711cd4
commit
25a3835c3c
@ -87,6 +87,8 @@ namespace osu.Game.Overlays.Settings
|
||||
get { return state; }
|
||||
set
|
||||
{
|
||||
expandEvent?.Cancel();
|
||||
|
||||
if (state == value) return;
|
||||
|
||||
state = value;
|
||||
|
Loading…
Reference in New Issue
Block a user