mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Better on end touch events
This commit is contained in:
@@ -71,8 +71,10 @@ local function end_touch(self)
|
||||
end
|
||||
|
||||
self.is_drag = false
|
||||
self.is_touch = false
|
||||
self.on_touch_end:trigger(self:get_context())
|
||||
if self.is_touch then
|
||||
self.is_touch = false
|
||||
self.on_touch_end:trigger(self:get_context())
|
||||
end
|
||||
self:reset_input_priority()
|
||||
self.touch_id = 0
|
||||
end
|
||||
|
Reference in New Issue
Block a user