Solve #199 Add input consume flag while input is selected. With false value it's allow to interact with other input components while input is selected (current input will be unselected if this case)

This commit is contained in:
Insality
2022-11-12 12:50:19 +02:00
parent ec15ac053a
commit 5d3625e2a8
2 changed files with 5 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ M["input"] = {
BUTTON_SELECT_INCREASE = 1.06,
MASK_DEFAULT_CHAR = "*",
IS_UNSELECT_ON_RESELECT = false,
IS_CONSUME_INPUT_WHILE_SELECTED = true,
on_select = function(self, button_node)
local target_scale = self.button.start_scale