From e80884459c27f6033655df8558e4f7fd67ea01dd Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Mon, 7 Aug 2023 12:39:20 -0700 Subject: [PATCH] don't display dfhack logo in legends mode --- docs/changelog.txt | 1 + plugins/lua/hotkeys.lua | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index 8d5e18467..f5aeb814b 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -58,6 +58,7 @@ Template for new versions: ## Fixes ## Misc Improvements +- `hotkeys`: don't display DFHack logo in legends mode since it covers up important interface elements. the Ctrl-Shift-C hotkey to bring up the menu and the mouseover hotspot still function, though. ## Documentation diff --git a/plugins/lua/hotkeys.lua b/plugins/lua/hotkeys.lua index fca0f1f27..373b2945f 100644 --- a/plugins/lua/hotkeys.lua +++ b/plugins/lua/hotkeys.lua @@ -28,13 +28,14 @@ HotspotMenuWidget.ATTRS{ default_enabled=true, hotspot=true, viewscreens={ - -- 'choose_start_site', -- conflicts with vanilla panel layouts + 'adopt_region', 'choose_game_type', + -- 'choose_start_site', -- conflicts with vanilla panel layouts 'dwarfmode', 'export_region', 'game_cleaner', 'initial_prep', - 'legends', + --'legends', -- conflicts with vanilla export button and info text 'loadgame', -- 'new_region', -- conflicts with vanilla panel layouts 'savegame',