diff --git a/changelog.txt b/changelog.txt index fd18b433e..22f438e71 100644 --- a/changelog.txt +++ b/changelog.txt @@ -50,6 +50,7 @@ Template for new versions: - `idle-crafting`: also support making shell crafts for workshops with linked input stockpiles - `gui/gm-editor`: automatic display of semantic values for language_name fields - `fix/stuck-worship`: reduced console output by default. Added ``--verbose`` and ``--quiet`` options. +- `gui/design`: add dimensions tooltip to vanilla zone painting interface - `necronomicon`: new ``--world`` option to list all secret-containing items in the entire world ## Removed diff --git a/gui/design.lua b/gui/design.lua index 5e90a4797..e011fc8a6 100644 --- a/gui/design.lua +++ b/gui/design.lua @@ -67,6 +67,7 @@ DimensionsOverlay.ATTRS{ 'dwarfmode/Designate', 'dwarfmode/Burrow/Paint', 'dwarfmode/Stockpile/Paint', + 'dwarfmode/Zone/Paint', 'dwarfmode/Building/Placement', }, } @@ -101,10 +102,11 @@ function DimensionsOverlay:init() } end --- don't imply that stockpiles will be 3d +-- don't imply that stockpiles or zones will be 3d local function check_stockpile_dims() - if main_interface.bottom_mode_selected == df.main_bottom_mode_type.STOCKPILE_PAINT and - selection_rect.start_x > 0 + if selection_rect.start_x > 0 and + (main_interface.bottom_mode_selected == df.main_bottom_mode_type.STOCKPILE_PAINT or + main_interface.bottom_mode_selected == df.main_bottom_mode_type.ZONE_PAINT) then selection_rect.start_z = df.global.window_z end