Remove no_auto_template and no_stencil_check settings

This commit is contained in:
Insality
2024-11-21 00:53:06 +02:00
parent 9c03c950ad
commit 69ebb252e1
8 changed files with 6 additions and 32 deletions

View File

@@ -40,7 +40,6 @@ local helper = require("druid.helper")
local M = {}
local INTERESTS = {} -- Cache interests per component class in runtime
local IS_AUTO_TEMPLATE = not (sys.get_config_int("druid.no_auto_template", 0) == 1)
-- Component Interests
M.ON_INPUT = const.ON_INPUT
@@ -114,7 +113,7 @@ function M:set_template(template)
template = template or ""
local parent = self:get_parent_component()
if parent and IS_AUTO_TEMPLATE then
if parent then
local parent_template = parent:get_template()
if #parent_template > 0 then
if #template > 0 then