From 4f4eb0ff1184f840eaaad1ac8de38d6c5a6eaae1 Mon Sep 17 00:00:00 2001 From: Micho Date: Wed, 22 May 2013 11:17:56 +0200 Subject: [PATCH] fixing issues #6: deactivate trails when slide dragging --- clients/anim/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/anim/main.js b/clients/anim/main.js index 5918f48..12fddaf 100644 --- a/clients/anim/main.js +++ b/clients/anim/main.js @@ -1,6 +1,6 @@ var startTime = (24*1 + 9)*60; var minTime = (24*0 + 12)*60; -var maxTime = (24*4 + 22)*60; +var maxTime = (24*3 + 22)*60; var currentTime = startTime; @@ -234,11 +234,11 @@ function updateData() { client.point = point; client.lastEvent = currentTime; client.settled = false; + } - if (mouseDrag) { - client.x = undefined; - client.y = client.y0; - } + if (mouseDrag) { + client.x = undefined; + client.settled = false; } }); }