Add hotkeys for editor map overlays

This commit is contained in:
Ivaylo Draganov
2022-05-06 22:21:43 +03:00
committed by abcdefg30
parent 13ceda3259
commit 320228f9d9
5 changed files with 127 additions and 63 deletions

View File

@@ -212,8 +212,11 @@ Container@EDITOR_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:
Container@EDITOR_WORLD_ROOT:
Logic: LoadIngamePerfLogic, MapEditorLogic, ActorEditLogic
Logic: LoadIngamePerfLogic, MapEditorLogic, ActorEditLogic, MapOverlaysLogic
ToggleGridOverlayKey: EditorToggleGridOverlay
ToggleBuildableOverlayKey: EditorToggleBuildableOverlay
Children:
LogicKeyListener@OVERLAY_KEYHANDLER:
Container@PERF_ROOT:
EditorViewportController@MAP_EDITOR:
Width: WINDOW_RIGHT

View File

@@ -203,8 +203,11 @@ Container@EDITOR_ROOT:
TooltipContainer@TOOLTIP_CONTAINER:
Container@EDITOR_WORLD_ROOT:
Logic: LoadIngamePerfLogic, MapEditorLogic, ActorEditLogic
Logic: LoadIngamePerfLogic, MapEditorLogic, ActorEditLogic, MapOverlaysLogic
ToggleGridOverlayKey: EditorToggleGridOverlay
ToggleBuildableOverlayKey: EditorToggleBuildableOverlay
Children:
LogicKeyListener@OVERLAY_KEYHANDLER:
Container@PERF_ROOT:
EditorViewportController@MAP_EDITOR:
Width: WINDOW_RIGHT

View File

@@ -39,3 +39,13 @@ EditorHistoryTab: Y
Description: History Tab
Types: Editor
Contexts: Editor
EditorToggleGridOverlay: F1
Description: Grid Overlay
Types: Editor
Contexts: Editor
EditorToggleBuildableOverlay: F2
Description: Buildable Terrain Overlay
Types: Editor
Contexts: Editor