-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{index}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{index}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/Files.vue b/src/pages/Files.vue
index ca816d04..257771a6 100644
--- a/src/pages/Files.vue
+++ b/src/pages/Files.vue
@@ -1077,8 +1077,8 @@ export default class PageFiles extends Mixins(BaseMixin) {
})
}
- view3D(item: FileStateFile) {
- this.$router.push({path: '/viewer', query: {filename: this.currentPath + '/' + item.filename}});
- }
+ view3D(item: FileStateFile) {
+ this.$router.push({path: '/viewer', query: {filename: this.currentPath + '/' + item.filename}})
+ }
}
diff --git a/src/pages/Viewer.vue b/src/pages/Viewer.vue
index 8d265acb..792604f9 100644
--- a/src/pages/Viewer.vue
+++ b/src/pages/Viewer.vue
@@ -3,12 +3,12 @@
\ No newline at end of file
diff --git a/src/routes/index.ts b/src/routes/index.ts
index dc77084a..3161af6e 100644
--- a/src/routes/index.ts
+++ b/src/routes/index.ts
@@ -60,12 +60,12 @@ const routes: AppRoute[] = [
registeredDirectory: 'gcodes',
},
{
- title: "G-Code Viewer",
+ title: 'G-Code Viewer',
path: '/viewer',
icon: 'video-3d',
component: Viewer,
alwaysShow: false,
- showInNavi: true,
+ showInNavi: true,
},
{
title: 'History',
diff --git a/src/store/gui/index.ts b/src/store/gui/index.ts
index 523b6b9b..b3ccafae 100644
--- a/src/store/gui/index.ts
+++ b/src/store/gui/index.ts
@@ -164,21 +164,21 @@ export const getDefaultState = (): GuiState => {
//moonraker DB api dont accept camel case key names
remotePrinters: [],
presets: [],
- cooldownGcode: 'TURN_OFF_HEATERS'
- gcodeViewer: {
- showCursor : true,
- extruderColors : ['#00FFFFFF','#FF00FFFF','#FFFF00FF','#000000FF','#FFFFFFFF'],
- gridColor : '#0000FF',
- backgroundColor : '#000000',
- colorMode : 'extruder',
- showAxes : 'true',
- minFeed : 20,
- maxFeed : 100,
- minFeedColor : "#0000FF",
- maxFeedColor : "#FF0000",
- forceLineRendering : false,
- progressColor : "#FFFFFF"
- }
+ cooldownGcode: 'TURN_OFF_HEATERS',
+ gcodeViewer: {
+ showCursor : true,
+ extruderColors : ['#00FFFFFF','#FF00FFFF','#FFFF00FF','#000000FF','#FFFFFFFF'],
+ gridColor : '#0000FF',
+ backgroundColor : '#000000',
+ colorMode : 'extruder',
+ showAxes : 'true',
+ minFeed : 20,
+ maxFeed : 100,
+ minFeedColor : '#0000FF',
+ maxFeedColor : '#FF0000',
+ forceLineRendering : false,
+ progressColor : '#FFFFFF'
+ }
}
}