Allow value change events to happen even during animation
This commit is contained in:
parent
8f5686c906
commit
ef15b331fb
@ -278,10 +278,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clicked(event, x, y) {
|
function clicked(event, x, y) {
|
||||||
if (_animation === null) {
|
var rect = _canvas.node.getBoundingClientRect();
|
||||||
var rect = _canvas.node.getBoundingClientRect();
|
updateValue(indicatorToValue(y - rect.top));
|
||||||
updateValue(indicatorToValue(y - rect.top));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.update = function(data, scale) {
|
this.update = function(data, scale) {
|
||||||
|
Loading…
Reference in New Issue
Block a user