Input priority little rework? Remove on_swipe

This commit is contained in:
Insality
2020-02-23 12:17:25 +03:00
parent 44016bc4f3
commit c2b65eb4e2
9 changed files with 61 additions and 87 deletions

View File

@@ -113,7 +113,7 @@ function M.update(self, dt)
end
-- Call only if exist interest: const.ON_INPUT or const.ON_SWIPE
-- Call only if exist interest: const.ON_INPUT or const.ON_INPUT_HIGH
function M.on_input(self, action_id, action)
end
@@ -123,8 +123,8 @@ function M.on_message(self, message_id, message, sender)
end
-- Call only if swipe was started on another component (ex. scroll)
function M.on_swipe(self)
-- Call if input was interrupt by previous components (ex. scroll)
function M.on_input_interrupt(self)
end
@@ -178,7 +178,7 @@ _TODO_
- update
- on_input
- on_message
- on_swipe
- on_input_interrupt
- setup_component
- get_style
- set_style