1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

Remove commented code

This will be reverted in a future change, no need to keep it around.
This commit is contained in:
Dean Herbert 2021-06-23 15:06:28 +09:00
parent f03c2bab48
commit e4d17bd757

View File

@ -205,16 +205,6 @@ namespace osu.Game.Overlays.Toolbar
var realmKeyBinding = realmFactory.Context.All<RealmKeyBinding>().FirstOrDefault(rkb => rkb.RulesetID == null && rkb.ActionInt == (int)Hotkey.Value);
// TODO: temporarily disabled to avoid crashes when querying after ExecutionState is changed.
// if (realmKeyBinding != null)
// {
// realmKeyBinding.PropertyChanged += (sender, args) =>
// {
// if (args.PropertyName == nameof(realmKeyBinding.KeyCombinationString))
// updateKeyBindingTooltip();
// };
// }
if (realmKeyBinding != null)
{
var keyBindingString = realmKeyBinding.KeyCombination.ReadableString();