Skip to content

Commit 976d3e6

Browse files
committed
hide panel when assigning someone to the workshop
1 parent d7059f7 commit 976d3e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

idle-crafting.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
local overlay = require('plugins.overlay')
55
local widgets = require('gui.widgets')
66
local repeatutil = require("repeat-util")
7+
local orders = require('plugins.orders')
78

89
---create a new linked job
910
---@return df.job
@@ -361,6 +362,7 @@ IdleCraftingOverlay.ATTRS {
361362
'dwarfmode/ViewSheets/BUILDING/Workshop/Craftsdwarfs/Workers',
362363
},
363364
frame = { w = 54, h = 1 },
365+
visible = orders.can_set_labors
364366
}
365367

366368
function IdleCraftingOverlay:init()

0 commit comments

Comments
 (0)