From 8635bb776b71138b6c3c188379dd836aaa2cf257 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Mon, 26 Jun 2023 11:04:10 +0700 Subject: [PATCH] Fix s curve zoom --- view-mode/function/overlaySCurve.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/view-mode/function/overlaySCurve.js b/view-mode/function/overlaySCurve.js index 513d3ee..487b8d0 100644 --- a/view-mode/function/overlaySCurve.js +++ b/view-mode/function/overlaySCurve.js @@ -48,9 +48,10 @@ function getChartScaleRange(){ } scale.trace_x.forEach(function(date){ - if(date >= tasksRange.start_date && date <= tasksRange.end_date){ - cells.push(date); - } + // if(date >= tasksRange.start_date && date <= tasksRange.end_date){ + // cells.push(date); + // } + cells.push(date); }); return cells; }