File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -356,18 +356,20 @@ end
356356IdleCraftingOverlay = defclass (IdleCraftingOverlay , overlay .OverlayWidget )
357357IdleCraftingOverlay .ATTRS {
358358 desc = " Adds a toggle for recreational crafting to Craftdwarf's workshops." ,
359- default_pos = { x = - 42 , y = 41 },
359+ default_pos = { x = - 39 , y = 41 },
360+ version = 2 ,
360361 default_enabled = true ,
361362 viewscreens = {
362363 ' dwarfmode/ViewSheets/BUILDING/Workshop/Craftsdwarfs/Workers' ,
363364 },
364- frame = { w = 54 , h = 1 },
365+ frame = { w = 58 , h = 1 },
365366 visible = orders .can_set_labors
366367}
367368
368369function IdleCraftingOverlay :init ()
369370 self :addviews {
370371 widgets .BannerPanel {
372+ frame = {l = 0 , w = 54 },
371373 subviews = {
372374 widgets .CycleHotkeyLabel {
373375 view_id = ' leisure_toggle' ,
@@ -388,6 +390,10 @@ function IdleCraftingOverlay:init()
388390 }
389391 },
390392 },
393+ widgets .HelpButton {
394+ frame = {r = 0 },
395+ command = ' idle-crafting' ,
396+ },
391397 }
392398end
393399
You can’t perform that action at this time.
0 commit comments