diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-21 16:07:12 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:05 +0200 |
| commit | 19f1e6db285d0bb8a96d2cea9c7f3a543692b81a (patch) | |
| tree | 6c4aeea3bd174c4675bb90fbcdbc4f70136058d3 /src/components/sidebars/elements | |
| parent | 5020d7c293beb08699897e003525059396c16424 (diff) | |
Hide all construction elements in simulation
Diffstat (limited to 'src/components/sidebars/elements')
| -rw-r--r-- | src/components/sidebars/elements/LoadChartComponent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/sidebars/elements/LoadChartComponent.js b/src/components/sidebars/elements/LoadChartComponent.js index 8f0ee6d7..8b2438c2 100644 --- a/src/components/sidebars/elements/LoadChartComponent.js +++ b/src/components/sidebars/elements/LoadChartComponent.js @@ -12,8 +12,8 @@ const LoadChartComponent = ({data, currentTick}) => ( /> <VictoryLine data={[ - {x: currentTick, y: 0}, - {x: currentTick, y: 1}, + {x: currentTick + 1, y: 0}, + {x: currentTick + 1, y: 1}, ]} style={{ data: {stroke: "#00A6D6", strokeWidth: 3} |
