Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions gui/design.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ DimensionsOverlay.ATTRS{
'dwarfmode/Designate',
'dwarfmode/Burrow/Paint',
'dwarfmode/Stockpile/Paint',
'dwarfmode/Zone/Paint',
'dwarfmode/Building/Placement',
},
}
Expand Down Expand Up @@ -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
Expand Down
Loading