From 1e9455bb4f6bc6b34c72588e00e1eab9c2ead0f7 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Mon, 9 Mar 2015 11:07:07 +0100 Subject: [PATCH] Server/WavesUI: fix zoom update for all layers --- timeside/player/static/timeside/js/timeside-waves.js | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5