Solve #189 Add temporary set input priority

This commit is contained in:
Insality
2022-06-15 10:34:47 +05:00
parent c9f862ac03
commit 53f305734c
2 changed files with 9 additions and 4 deletions

View File

@@ -281,8 +281,8 @@ function Input.select(self)
gui.reset_keyboard()
self.marked_value = ""
if not self.is_selected then
self:set_input_priority(const.PRIORITY_INPUT_MAX)
self.button:set_input_priority(const.PRIORITY_INPUT_MAX)
self:set_input_priority(const.PRIORITY_INPUT_MAX, true)
self.button:set_input_priority(const.PRIORITY_INPUT_MAX, true)
self.previous_value = self.value
self.is_selected = true