Application Contexts support keybindings now
This commit is contained in:
parent
8085cbea3d
commit
d6c5ed5b52
@ -43,6 +43,10 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
MenuItems.Add(reference.MenuBar.Items[i]);
|
||||
}
|
||||
for (int i = 0; i < reference.KeyBindings.Count; i++)
|
||||
{
|
||||
KeyBindings.Add(reference.KeyBindings[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,6 +25,7 @@ namespace UniversalEditor.UserInterface
|
||||
|
||||
public CommandBar MenuBar { get; } = new CommandBar();
|
||||
public Command.CommandCollection Commands { get; } = new Command.CommandCollection();
|
||||
public KeyBinding.KeyBindingCollection KeyBindings { get; } = new KeyBinding.KeyBindingCollection();
|
||||
|
||||
public EditorView.EditorViewCollection Views { get; } = new EditorView.EditorViewCollection();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user