Add delete hotkey

(cherry picked from commit 269542c4b0373e1f200afaab01d7d102c5d6194c)
This commit is contained in:
Gustas
2024-12-20 18:34:34 +02:00
committed by Pavel Penev
parent c561509c82
commit 3fa2b9fe79
6 changed files with 36 additions and 4 deletions

View File

@@ -695,6 +695,10 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Text: button-delete-area.label
Font: Bold
Key: EditorDeleteSelection
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-delete-area.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@SELECTION_CANCEL_BUTTON:
X: 208
Y: 222
@@ -786,8 +790,12 @@ Container@EDITOR_WORLD_ROOT:
X: 7
Width: 75
Height: 25
Text: button-container-delete
Text: button-delete-actor.label
Font: Bold
Key: EditorDeleteSelection
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-delete-actor.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@CANCEL_BUTTON:
X: 127
Width: 75

View File

@@ -55,7 +55,6 @@ label-save-map-background-directory = Directory:
label-save-map-background-filename = Filename:
button-save-map-panel = Save
label-actor-edit-panel-id = ID
button-container-delete = Delete
button-container-ok = OK
button-editor-world-root-options-tooltip = Menu
label-tiles-bg-search = Search:
@@ -87,6 +86,11 @@ button-map-editor-tab-container-history-tooltip = History
button-delete-area =
.label = Delete
.tooltip = Remove everything in the selected area
button-delete-actor =
.label = Delete
.tooltip = Remove the selected actor
button-editor-world-root-copy =
.label = Copy

View File

@@ -661,6 +661,10 @@ Container@EDITOR_WORLD_ROOT:
Height: 25
Text: button-delete-area.label
Font: Bold
Key: EditorDeleteSelection
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-delete-area.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@SELECTION_CANCEL_BUTTON:
X: 208
Y: 222
@@ -754,8 +758,12 @@ Container@EDITOR_WORLD_ROOT:
X: 5
Width: 75
Height: 25
Text: button-container-delete
Text: button-delete-actor.label
Font: Bold
Key: EditorDeleteSelection
TooltipTemplate: BUTTON_TOOLTIP
TooltipText: button-delete-actor.tooltip
TooltipContainer: TOOLTIP_CONTAINER
Button@CANCEL_BUTTON:
X: 127
Width: 75

View File

@@ -52,7 +52,6 @@ label-save-map-panel-directory = Directory:
label-save-map-panel-filename = Filename:
button-save-map-panel = Save
label-actor-edit-panel-id = ID
button-container-delete = Delete
button-container-ok = OK
label-tiles-bg-search = Search:
label-bg-filter = Filter:
@@ -83,6 +82,11 @@ button-map-editor-tab-container-history-tooltip = History
button-delete-area =
.label = Delete
.tooltip = Remove everything in the selected area
button-delete-actor =
.label = Delete
.tooltip = Remove the selected actor
button-editor-world-root-options =
.label = Menu

View File

@@ -70,6 +70,7 @@ hotkey-description-editorredo = Redo
hotkey-description-editorcopy = Copy
hotkey-description-editorquicksave = Save Map
hotkey-description-editorpaste = Paste
hotkey-description-editordeleteselection = Delete Selection
hotkey-description-editorselecttab = Select Tab
hotkey-description-editortilestab = Tiles Tab
hotkey-description-editoroverlaystab = Overlays Tab

View File

@@ -34,6 +34,13 @@ EditorPaste: V Ctrl
Platform:
OSX: V Meta
EditorDeleteSelection: DELETE
Description: hotkey-description-editordeleteselection
Types: Editor
Contexts: editor
Platform:
OSX: BACKSPACE
EditorSelectTab: E
Description: hotkey-description-editorselecttab
Types: Editor