File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ Template for new versions:
5050- `idle-crafting`: also support making shell crafts for workshops with linked input stockpiles
5151- `gui/gm-editor`: automatic display of semantic values for language_name fields
5252- `fix/stuck-worship`: reduced console output by default. Added ``--verbose`` and ``--quiet`` options.
53+ - `gui/design`: add dimensions tooltip to vanilla zone painting interface
5354- `necronomicon`: new ``--world`` option to list all secret-containing items in the entire world
5455- `gui/design`: new ``gui/design.rightclick`` overlay that prevents right click from closing designation mode when drawing boxes and minecart tracks
5556
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ DimensionsOverlay.ATTRS{
6767 ' dwarfmode/Designate' ,
6868 ' dwarfmode/Burrow/Paint' ,
6969 ' dwarfmode/Stockpile/Paint' ,
70+ ' dwarfmode/Zone/Paint' ,
7071 ' dwarfmode/Building/Placement' ,
7172 },
7273}
@@ -101,10 +102,11 @@ function DimensionsOverlay:init()
101102 }
102103end
103104
104- -- don't imply that stockpiles will be 3d
105+ -- don't imply that stockpiles or zones will be 3d
105106local function check_stockpile_dims ()
106- if main_interface .bottom_mode_selected == df .main_bottom_mode_type .STOCKPILE_PAINT and
107- selection_rect .start_x > 0
107+ if selection_rect .start_x > 0 and
108+ (main_interface .bottom_mode_selected == df .main_bottom_mode_type .STOCKPILE_PAINT or
109+ main_interface .bottom_mode_selected == df .main_bottom_mode_type .ZONE_PAINT )
108110 then
109111 selection_rect .start_z = df .global .window_z
110112 end
You can’t perform that action at this time.
0 commit comments