Add separate input priority component value

This commit is contained in:
Insality
2021-02-07 14:57:39 +05:00
parent 4e65895966
commit 731a47e01d
6 changed files with 54 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ local helper = require("druid.helper")
local const = require("druid.const")
local component = require("druid.component")
local Slider = component.create("slider", { component.ON_INPUT_HIGH, component.ON_LAYOUT_CHANGE })
local Slider = component.create("slider", { component.ON_INPUT, component.ON_LAYOUT_CHANGE }, const.PRIORITY_INPUT_HIGH)
local function on_change_value(self)