mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Update luacheck
This commit is contained in:
@@ -1824,6 +1824,8 @@ function helper.step(current, target, step) end
|
||||
function helper.table_to_string(t) end
|
||||
|
||||
|
||||
---@diagnostic disable: duplicate-doc-field
|
||||
|
||||
-- Manual Annotations --
|
||||
|
||||
---@class druid.rich_text.metrics
|
||||
|
@@ -25,7 +25,7 @@ local helper = require("druid.helper")
|
||||
local BaseComponent = class("druid.component")
|
||||
|
||||
local INTERESTS = {} -- Cache interests per component class in runtime
|
||||
local IS_AUTO_TEMPLATE = not (sys.get_config("druid.no_auto_template") == "1")
|
||||
local IS_AUTO_TEMPLATE = not (sys.get_config_int("druid.no_auto_template", 0) == "1")
|
||||
|
||||
-- Component Interests
|
||||
BaseComponent.ON_INPUT = const.ON_INPUT
|
||||
|
@@ -30,7 +30,7 @@ local SCHEME = {
|
||||
|
||||
local function update_visual(self)
|
||||
local rotation = vmath.vector3(0, 0, self.angle)
|
||||
gui.set_rotation(self.node, rotation)
|
||||
gui.set_euler(self.node, rotation)
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user