fixed prop typing
This commit is contained in:
@@ -582,12 +582,8 @@ function Gui.destroy()
|
|||||||
Gui._focusedElement = nil
|
Gui._focusedElement = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ====================
|
|
||||||
-- Immediate Mode API
|
|
||||||
-- ====================
|
|
||||||
|
|
||||||
--- Create a new element (supports both immediate and retained mode)
|
--- Create a new element (supports both immediate and retained mode)
|
||||||
---@param props table
|
---@param props ElementProps
|
||||||
---@return Element
|
---@return Element
|
||||||
function Gui.new(props)
|
function Gui.new(props)
|
||||||
props = props or {}
|
props = props or {}
|
||||||
|
|||||||
Reference in New Issue
Block a user