From 4a21f24c4521d37c8c680a89e9568b801f2b5c7d Mon Sep 17 00:00:00 2001 From: l_samenv Date: Fri, 26 Jul 2024 11:38:14 +0200 Subject: [PATCH] Fixed go to now button not displayed on first canvas click bug --- client/jsFiles/SEAWebClientGraphics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/jsFiles/SEAWebClientGraphics.js b/client/jsFiles/SEAWebClientGraphics.js index 95c7b4f..5f9df6f 100644 --- a/client/jsFiles/SEAWebClientGraphics.js +++ b/client/jsFiles/SEAWebClientGraphics.js @@ -508,8 +508,8 @@ let graphs = (function (){ let trect = evt.target.getBoundingClientRect(); let X = evt.clientX - trect.x, Y = evt.clientY - trect.y; showLegends(true, false); - setLiveMode(); cursorLine(X); + setLiveMode(); update(); for (let gr of graph_array.slice(0, ngraphs)) { if (gr && gr.chart.canvas == evt.target) {