mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Rename type druid_instance to druid.instance
This commit is contained in:
@@ -12,7 +12,7 @@ local M = {}
|
||||
---Create a new Druid instance for creating GUI components.
|
||||
---@param context table The Druid context. Usually, this is the self of the gui_script. It is passed into all Druid callbacks.
|
||||
---@param style table|nil The Druid style table to override style parameters for this Druid instance.
|
||||
---@return druid_instance druid_instance The new Druid instance
|
||||
---@return druid.instance druid_instance The new Druid instance
|
||||
function M.new(context, style)
|
||||
if settings.default_style == nil then
|
||||
M.set_default_style(default_style)
|
||||
|
Reference in New Issue
Block a user