Skip to content

Commit 125eb4a

Browse files
committed
Graph Panel widget: no need for deep watches.
Not sure why we had `deep` set to `true`, but not only it is not needed, but it also (indirectly) slows down the rendering of simulation data.
1 parent 320a473 commit 125eb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/src/components/widgets/GraphPanelWidget.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ vue.watch(
363363
updatePlot();
364364
});
365365
},
366-
{ immediate: true, deep: true }
366+
{ immediate: true }
367367
);
368368
369369
vue.watch(
@@ -399,7 +399,7 @@ vue.watch(
399399
}
400400
});
401401
},
402-
{ immediate: true, deep: true }
402+
{ immediate: true }
403403
);
404404
405405
vue.watch(

0 commit comments

Comments
 (0)