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