From: Thomas Fillon Date: Mon, 9 Mar 2015 10:07:07 +0000 (+0100) Subject: Server/WavesUI: fix zoom update for all layers X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1e9455bb4f6bc6b34c72588e00e1eab9c2ead0f7;p=timeside.git Server/WavesUI: fix zoom update for all layers --- diff --git a/timeside/player/static/timeside/js/timeside-waves.js b/timeside/player/static/timeside/js/timeside-waves.js index 39a4186..b857827 100644 --- a/timeside/player/static/timeside/js/timeside-waves.js +++ b/timeside/player/static/timeside/js/timeside-waves.js @@ -94,6 +94,8 @@ function waveform(div_id) { .on('mousemove', function(e) { // update graph xZoom graph_sub.xZoom(e); + graph_sub.update(); + // update axis axis.call(xAxis); @@ -140,6 +142,7 @@ function timeline_get_data(json_url, div_id) { .on('mousemove', function(e) { // update graph xZoom graph.xZoom(e); + graph.update(); }) .on('mouseup', function(e) { // set the final xZoom value of the graph