Cancel pending sidebar expansion when a button is clicked

This commit is contained in:
Dean Herbert
2017-08-16 16:59:16 +09:00
parent 5d07711cd4
commit 25a3835c3c

View File

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