Add platform override support for hotkeys and unhardcode editor hotkeys
This commit is contained in:
committed by
Paul Chote
parent
1cf4838b08
commit
6a1a6b6397
@@ -573,7 +573,7 @@ Container@EDITOR_WORLD_ROOT:
|
||||
TooltipText: Copy
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
Font: Bold
|
||||
Key: c ctrl
|
||||
Key: EditorCopy
|
||||
DropDownButton@COPYFILTER_BUTTON:
|
||||
X: 170
|
||||
Width: 140
|
||||
@@ -586,7 +586,7 @@ Container@EDITOR_WORLD_ROOT:
|
||||
Width: 70
|
||||
Text: Undo
|
||||
Font: Bold
|
||||
Key: z ctrl
|
||||
Key: EditorUndo
|
||||
TooltipTemplate: BUTTON_TOOLTIP
|
||||
TooltipText: Undo last step
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
@@ -596,7 +596,7 @@ Container@EDITOR_WORLD_ROOT:
|
||||
Width: 70
|
||||
Text: Redo
|
||||
Font: Bold
|
||||
Key: y ctrl
|
||||
Key: EditorRedo
|
||||
TooltipTemplate: BUTTON_TOOLTIP
|
||||
TooltipText: Redo last step
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
|
||||
@@ -21,6 +21,8 @@ Container@HOTKEYS_PANEL:
|
||||
Types: Chat
|
||||
Control Groups:
|
||||
Types: ControlGroups
|
||||
Editor Commands:
|
||||
Types: Editor
|
||||
Width: PARENT_RIGHT
|
||||
Height: PARENT_BOTTOM
|
||||
Children:
|
||||
|
||||
21
mods/common/hotkeys/editor.yaml
Normal file
21
mods/common/hotkeys/editor.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
EditorUndo: Z Ctrl
|
||||
Description: Undo
|
||||
Types: Editor
|
||||
Contexts: Editor
|
||||
Platform:
|
||||
OSX: Z Meta
|
||||
|
||||
EditorRedo: Y Ctrl
|
||||
Description: Redo
|
||||
Types: Editor
|
||||
Contexts: Editor
|
||||
Platform:
|
||||
OSX: Z Meta, Shift
|
||||
Linux: Z Ctrl, Shift
|
||||
|
||||
EditorCopy: C Ctrl
|
||||
Description: Copy
|
||||
Types: Editor
|
||||
Contexts: Editor
|
||||
Platform:
|
||||
OSX: C Meta
|
||||
Reference in New Issue
Block a user