fixing issues #6: deactivate trails when slide dragging
This commit is contained in:
parent
103235bec1
commit
4f4eb0ff11
|
@ -1,6 +1,6 @@
|
||||||
var startTime = (24*1 + 9)*60;
|
var startTime = (24*1 + 9)*60;
|
||||||
var minTime = (24*0 + 12)*60;
|
var minTime = (24*0 + 12)*60;
|
||||||
var maxTime = (24*4 + 22)*60;
|
var maxTime = (24*3 + 22)*60;
|
||||||
|
|
||||||
|
|
||||||
var currentTime = startTime;
|
var currentTime = startTime;
|
||||||
|
@ -234,11 +234,11 @@ function updateData() {
|
||||||
client.point = point;
|
client.point = point;
|
||||||
client.lastEvent = currentTime;
|
client.lastEvent = currentTime;
|
||||||
client.settled = false;
|
client.settled = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (mouseDrag) {
|
if (mouseDrag) {
|
||||||
client.x = undefined;
|
client.x = undefined;
|
||||||
client.y = client.y0;
|
client.settled = false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue