Skip to content

Commit

Permalink
Merge pull request #1299 from chdoc/fix-idle-crafting
Browse files Browse the repository at this point in the history
hide panel when assigning someone to the workshop
  • Loading branch information
myk002 authored Sep 9, 2024
2 parents d7059f7 + 976d3e6 commit ce7c714
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 ce7c714

Please sign in to comment.