updated type hints for remaining graphics_element generic types

This commit is contained in:
Mikayla
2024-09-26 21:23:50 +00:00
parent ec1fc13ae7
commit 17e53fdba2
38 changed files with 54 additions and 52 deletions

View File

@@ -153,7 +153,7 @@ local function load_settings(target, raw)
end
-- create the config view
---@param display graphics_element
---@param display DisplayBox
local function config_view(display)
---@diagnostic disable-next-line: undefined-field
local function exit() os.queueEvent("terminate") end

View File

@@ -33,7 +33,7 @@ local cpair = core.cpair
local ind_grn = style.ind_grn
-- create new front panel view
---@param panel graphics_element main displaybox
---@param panel DisplayBox main displaybox
local function init(panel)
local s_hi_box = style.theme.highlight_box
local s_hi_bright = style.theme.highlight_box_bright