mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 22:06:08 +08:00
Merge pull request #1114 from peppy/fix-sidebar-click-expansion
Cancel pending sidebar expansion when a button is clicked
This commit is contained in:
commit
1610cfaa28
@ -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