mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Small optimization && refactoring
This commit is contained in:
@@ -60,7 +60,7 @@ end
|
||||
-- @tparam table action on_input action
|
||||
-- @local
|
||||
function BackHandler.on_input(self, action_id, action)
|
||||
if not action[const.RELEASED] then
|
||||
if not action.released then
|
||||
return false
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user