diff --git a/src/components/widgets/gcode-preview/GcodePreview.vue b/src/components/widgets/gcode-preview/GcodePreview.vue index 091dda7e33..261ecf1a7e 100644 --- a/src/components/widgets/gcode-preview/GcodePreview.vue +++ b/src/components/widgets/gcode-preview/GcodePreview.vue @@ -113,6 +113,19 @@ :shape-rendering="shapeRendering" /> + + + + + { parserWorker: null, viewer: { + showCurrentLayer: false, showNextLayer: false, showPreviousLayer: false, showMoves: true, diff --git a/src/store/gcodePreview/types.ts b/src/store/gcodePreview/types.ts index 145f23ca62..22069da2d6 100644 --- a/src/store/gcodePreview/types.ts +++ b/src/store/gcodePreview/types.ts @@ -10,6 +10,7 @@ export interface GcodePreviewState { parserWorker: Thread | null; viewer: { + showCurrentLayer: boolean; showNextLayer: boolean; showPreviousLayer: boolean; showMoves: boolean;