refactoring and adjusted spinbox and hazard button elements

This commit is contained in:
Mikayla Fischler
2023-01-23 15:10:41 -05:00
parent 4145949ba7
commit 8abac3fdcb
9 changed files with 60 additions and 36 deletions

View File

@@ -24,7 +24,7 @@ local pipe = core.graphics.pipe
---@param parent graphics_element parent
---@param x integer top left x
---@param y integer top left y
---@param unit ioctl_entry unit database entry
---@param unit ioctl_unit unit database entry
local function make(parent, x, y, unit)
local height = 0
local num_boilers = #unit.boiler_data_tbl