1

Allow value change events to happen even during animation

This commit is contained in:
Alex Yatskov 2014-11-09 22:47:17 +09:00
parent 8f5686c906
commit ef15b331fb

View File

@ -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;