From 30370e0e60ea33c30af3debf3f2aa662e5a0d946 Mon Sep 17 00:00:00 2001 From: Alex-NRCan <94073946+Alex-NRCan@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:18:13 +0000 Subject: [PATCH] Build: (6dba461) Redraw capabilities --- main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index cc0517e..24309d5 100644 --- a/main.js +++ b/main.js @@ -20567,11 +20567,11 @@ function chart_Chart(props) { useEffect(function () { // Function to handle EVENT_CHART_REDRAW var funcHandlerChartRedraw = function funcHandlerChartRedraw(e) { - // Redraw + // Forces a redraw and then resets to false 'later' setShouldRedraw(true); - // setTimeout(() => { - // setShouldRedraw(false); - // }, 5000); + setTimeout(function () { + setShouldRedraw(false); + }, 200); }; // Function to handle EVENT_CHART_CHANGED