mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Update
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
---@field height number
|
||||
---@field max_ascent number
|
||||
---@field max_descent number
|
||||
---@field offset_x number
|
||||
---@field offset_y number
|
||||
|
||||
---@class utf8
|
||||
---@field len fun(s: string):number
|
||||
@@ -24,4 +26,4 @@
|
||||
---@field format fun()
|
||||
---@field lower fun()
|
||||
---@field upper fun()
|
||||
---@field rep fun()
|
||||
---@field rep fun()
|
||||
|
@@ -85,9 +85,8 @@ local function create_widget(self, widget_class)
|
||||
__index = setmetatable(widget_class, WIDGET_METATABLE)
|
||||
})
|
||||
|
||||
local uid = base_component.create_uid()
|
||||
instance._component = {
|
||||
_uid = uid,
|
||||
_uid = base_component.create_uid(),
|
||||
name = "Druid Widget",
|
||||
input_priority = const.PRIORITY_INPUT,
|
||||
default_input_priority = const.PRIORITY_INPUT,
|
||||
|
Reference in New Issue
Block a user