Add the option to deselect all whereve there is a select all, Refactor much of the codebase to use keybinds from InputOptions.
This commit is contained in:
@@ -170,6 +170,8 @@ namespace FlaxEditor.Windows
|
||||
/// <inheritdoc />
|
||||
public override bool OnKeyDown(KeyboardKeys key)
|
||||
{
|
||||
InputOptions options = FlaxEditor.Editor.Instance.Options.Options.Input;
|
||||
|
||||
// Up
|
||||
if (key == KeyboardKeys.ArrowUp)
|
||||
{
|
||||
@@ -200,7 +202,7 @@ namespace FlaxEditor.Windows
|
||||
Open();
|
||||
}
|
||||
// Ctrl+C
|
||||
else if (key == KeyboardKeys.C && Root.GetKey(KeyboardKeys.Control))
|
||||
else if (options.Copy.Process(this))
|
||||
{
|
||||
Copy();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user