Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 652440d

Browse files
committed
ui-spacetimechart: fix op graduation display when hidden
add operationnalPoints in fingerprint to trigger changes in useCanvas() then redraw charts if one or many operationnalPoints is hidden by machette settings panel Signed-off-by: Yohh <[email protected]>
1 parent 83d2999 commit 652440d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui-spacetimechart/src/components/SpaceTimeChart.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const SpaceTimeChart = (props: SpaceTimeChartProps) => {
6363
const fingerprint = useMemo(
6464
() =>
6565
JSON.stringify({
66+
operationalPoints,
6667
width,
6768
height,
6869
spaceOrigin,
@@ -77,6 +78,7 @@ export const SpaceTimeChart = (props: SpaceTimeChartProps) => {
7778
showTicks,
7879
}),
7980
[
81+
operationalPoints,
8082
width,
8183
height,
8284
spaceOrigin,

0 commit comments

Comments
 (0)