mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Input priority little rework? Remove on_swipe
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user