Allow value change events to happen even during animation
This commit is contained in:
parent
8f5686c906
commit
ef15b331fb
@ -278,11 +278,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
_data = data;
|
_data = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user