1
0
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:
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;