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) {
|
||||
if (_animation === null) {
|
||||
var rect = _canvas.node.getBoundingClientRect();
|
||||
updateValue(indicatorToValue(y - rect.top));
|
||||
}
|
||||
}
|
||||
|
||||
this.update = function(data, scale) {
|
||||
_data = data;
|
||||
|
Loading…
Reference in New Issue
Block a user