Permalink
Browse files

Add empty multigesture handler to ui.lua

Silences error about the missing handler. May be extended in the future.
  • Loading branch information...
TheCycoONE committed Oct 8, 2018
1 parent 23dd52e commit d432e0b7215b3c237aa60143aa70ac9385876360
Showing with 7 additions and 0 deletions.
  1. +7 −0 CorsixTH/Lua/ui.lua
@@ -763,6 +763,13 @@ function UI:onMouseMove(x, y, dx, dy)
return repaint
end

--! Process SDL_MULTIGESTURE events.
--!
--!return (boolean) event processed indicator
function UI:onMultiGesture()
return false
end

function UI:onTick()
Window.onTick(self)
local repaint = false

0 comments on commit d432e0b

Please sign in to comment.