Forgot to remove log spam

Forgot to remove log spam
This commit is contained in:
Robert Jelic
2022-09-29 17:37:07 +02:00
parent 40650d16c1
commit de4997dd87

View File

@@ -192,7 +192,6 @@ end
local btn, dragX, dragY = nil, nil, nil local btn, dragX, dragY = nil, nil, nil
local dragTimer = nil local dragTimer = nil
local function dragHandlerTimer() local function dragHandlerTimer()
log("Event registered")
dragTimer = nil dragTimer = nil
mainFrame:dragHandler(btn, dragX, dragY) mainFrame:dragHandler(btn, dragX, dragY)
activeFrame = mainFrame activeFrame = mainFrame
@@ -203,7 +202,6 @@ local function mouseDragEvent(b, x, y)
if(dragThrottle<50)then if(dragThrottle<50)then
dragHandlerTimer() dragHandlerTimer()
else else
log("Draggi"..(tostring(dragTimer)..(dragThrottle/1000)))
if(dragTimer==nil)then if(dragTimer==nil)then
dragTimer = os.startTimer(dragThrottle/1000) dragTimer = os.startTimer(dragThrottle/1000)
end end
@@ -315,7 +313,6 @@ basalt = {
end, end,
setMouseDragThrottle = function(amount) setMouseDragThrottle = function(amount)
log("Drag Throttle "..amount)
if(amount<=0)then if(amount<=0)then
dragThrottle = 0 dragThrottle = 0
else else