Skip to content

Commit

Permalink
hide panel when assigning someone to the workshop
Browse files Browse the repository at this point in the history
  • Loading branch information
chdoc committed Sep 9, 2024
1 parent d7059f7 commit 976d3e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions idle-crafting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
local overlay = require('plugins.overlay')
local widgets = require('gui.widgets')
local repeatutil = require("repeat-util")
local orders = require('plugins.orders')

---create a new linked job
---@return df.job
Expand Down Expand Up @@ -361,6 +362,7 @@ IdleCraftingOverlay.ATTRS {
'dwarfmode/ViewSheets/BUILDING/Workshop/Craftsdwarfs/Workers',
},
frame = { w = 54, h = 1 },
visible = orders.can_set_labors
}

function IdleCraftingOverlay:init()
Expand Down

0 comments on commit 976d3e6

Please sign in to comment.