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:
parent
fc1eb42a65
commit
8869979599
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user