1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-08 14:41:14 +02:00

removed debug print

This commit is contained in:
2020-08-26 22:16:06 +02:00
parent d2ee41633f
commit 0e1b5ae906

View File

@@ -16,11 +16,8 @@ end
Screen.trigger = function(self,...) self.private.clickHandler(self,...) end
Screen.private = {}
Screen.private.clickHandler = function(self,eventName,uuid,x,y)
print(eventName,x,y)
if(eventName == "touch") then --filter only "touch" events
print("ok touch")
for _,widget in ipairs(self.childs) do
print("collide ",widget:collide(x,y))
if(widget:collide(x,y)) then --test colision
widget:trigger(eventName,uuid,x,y)
end