mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +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; }
|
get { return state; }
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
expandEvent?.Cancel();
|
||||||
|
|
||||||
if (state == value) return;
|
if (state == value) return;
|
||||||
|
|
||||||
state = value;
|
state = value;
|
||||||
|
Loading…
Reference in New Issue
Block a user