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