1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:28:00 +08:00

Trigger hook activation on bind.

This commit is contained in:
Lucas A 2020-07-04 12:30:09 +02:00
parent fc1eb42a65
commit 8869979599

View File

@ -25,7 +25,7 @@ namespace osu.Desktop.Windows
winKeyEnabled.ValueChanged += toggleWinKey;
disableWinKey = config.GetBindable<bool>(OsuSetting.GameplayDisableWinKey);
disableWinKey.BindValueChanged(t => winKeyEnabled.TriggerChange());
disableWinKey.BindValueChanged(t => winKeyEnabled.TriggerChange(), true);
}
private void toggleWinKey(ValueChangedEvent<bool> e)