mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Remove commented code
This will be reverted in a future change, no need to keep it around.
This commit is contained in:
parent
f03c2bab48
commit
e4d17bd757
@ -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);
|
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)
|
if (realmKeyBinding != null)
|
||||||
{
|
{
|
||||||
var keyBindingString = realmKeyBinding.KeyCombination.ReadableString();
|
var keyBindingString = realmKeyBinding.KeyCombination.ReadableString();
|
||||||
|
Loading…
Reference in New Issue
Block a user