1
0
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:
Thomas Müller 2017-08-16 17:43:22 +09:00 committed by GitHub
commit 1610cfaa28

View File

@ -87,6 +87,8 @@ namespace osu.Game.Overlays.Settings
get { return state; }
set
{
expandEvent?.Cancel();
if (state == value) return;
state = value;