Skip to content
Open
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 docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Template for new versions:
## New Features

## Fixes
- `buildingplan`: restore planner UI elements: hollow constructions, only engraved slabs, only empty cages, weapon count

## Misc Improvements

Expand Down
16 changes: 8 additions & 8 deletions plugins/lua/buildingplan/planneroverlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ function PlannerOverlay:init()
self:addviews{
widgets.CycleHotkeyLabel{
view_id='weapons_hotkey',
frame={b=4, l=1, w=28},
frame={b=5, l=1, w=28},
key='CUSTOM_T',
key_back='CUSTOM_SHIFT_T',
label='Number of weapons:',
Expand All @@ -713,7 +713,7 @@ function PlannerOverlay:init()

widgets.Slider{
view_id='weapons_slider',
frame={b=6, l=4, w=35},
frame={b=7, l=4, w=35},
num_stops=#self.options,
get_idx_fn=function() return weapon_quantity end,
on_change=function(val)
Expand Down Expand Up @@ -749,7 +749,7 @@ function PlannerOverlay:init()
on_clear_filter=self:callback('clear_filter')},
widgets.CycleHotkeyLabel{
view_id='hollow',
frame={b=4, l=1, w=21},
frame={b=5, l=1, w=21},
key='CUSTOM_H',
label='Hollow area:',
visible=is_construction,
Expand All @@ -760,7 +760,7 @@ function PlannerOverlay:init()
},
widgets.CycleHotkeyLabel{
view_id='stairs_top_subtype',
frame={b=7, l=1, w=30},
frame={b=8, l=1, w=30},
key='CUSTOM_R',
label='Top stair type: ',
visible=is_multi_level_stairs,
Expand All @@ -772,7 +772,7 @@ function PlannerOverlay:init()
},
widgets.CycleHotkeyLabel {
view_id='stairs_bottom_subtype',
frame={b=6, l=1, w=30},
frame={b=7, l=1, w=30},
key='CUSTOM_B',
label='Bottom Stair Type:',
visible=is_multi_level_stairs,
Expand All @@ -784,7 +784,7 @@ function PlannerOverlay:init()
},
widgets.CycleHotkeyLabel{
view_id='stairs_only_subtype',
frame={b=7, l=1, w=30},
frame={b=8, l=1, w=30},
key='CUSTOM_R',
label='Single level stair:',
visible=is_single_level_stairs,
Expand All @@ -799,7 +799,7 @@ function PlannerOverlay:init()

widgets.ToggleHotkeyLabel {
view_id='engraved',
frame={b=4, l=1, w=22},
frame={b=5, l=1, w=22},
key='CUSTOM_T',
label='Engraved only:',
visible=is_slab,
Expand All @@ -809,7 +809,7 @@ function PlannerOverlay:init()
},
widgets.ToggleHotkeyLabel {
view_id='empty',
frame={b=4, l=1, w=22},
frame={b=5, l=1, w=22},
key='CUSTOM_T',
label='Empty only:',
visible=is_cage,
Expand Down
Loading