Skip to content

Commit

Permalink
Build: (6dba461) Redraw capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Oct 2, 2023
1 parent ac44178 commit 30370e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30370e0

Please sign in to comment.