12345678910111213141516171819202122232425262728 |
- using System.Windows.Input;
- namespace PixiEditor.Models.Commands.Templates;
- public partial class ShortcutProvider
- {
- public static AsepriteProvider Aseprite { get; } = new();
-
- public class AsepriteProvider : ShortcutProvider, IShortcutDefaults
- {
- public AsepriteProvider() : base("Aseprite")
- {
- }
- public ShortcutCollection DefaultShortcuts { get; } = new()
- {
- { "PixiEditor.File.SaveAsNew", Key.S, ModifierKeys.Control | ModifierKeys.Alt },
- { "PixiEditor.Window.OpenSettingsWindow", Key.K, ModifierKeys.Control },
- // Tools
- { "PixiEditor.Tools.Select.CircleTool", Key.U, ModifierKeys.Shift },
- { "PixiEditor.Tools.Select.ColorPickerTool", Key.I, ModifierKeys.None },
- { "PixiEditor.Tools.Select.RectangleTool", Key.U, ModifierKeys.None },
- { "PixiEditor.Tools.Select.SelectTool", Key.V, ModifierKeys.None },
- // Not actually in aseprite, but should be included
- { "PixiEditor.Search.Toggle", Key.OemComma, ModifierKeys.Control }
- };
- }
- }
|