From 45a42c4972281022444c8eb9b50841ecbaf9536f Mon Sep 17 00:00:00 2001 From: Teja Date: Sat, 15 Aug 2015 19:39:51 +0200 Subject: [PATCH] got rid of the gcode viewer - not in use here. --- .../plugins/svgtogcode/static/css/mrbeam.css | 27 +------------------ .../svgtogcode/static/js/working_area.js | 1 - src/octoprint/settings.py | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/src/octoprint/plugins/svgtogcode/static/css/mrbeam.css b/src/octoprint/plugins/svgtogcode/static/css/mrbeam.css index 5403e9aa..fef18060 100644 --- a/src/octoprint/plugins/svgtogcode/static/css/mrbeam.css +++ b/src/octoprint/plugins/svgtogcode/static/css/mrbeam.css @@ -1205,32 +1205,7 @@ ul.dropdown-menu li a { padding: 3px 0; height: 30px; } -/** GCODE viewer */ -#gcode .progress { - width: 582px; -} -#gcode .progress .bar { - -webkit-transition: width 0s linear; - -moz-transition: width 0s linear; - -o-transition: width 0s linear; - transition: width 0s linear; -} -#gcode #gcode_layer_slider { - height: 568px; - float: right; -} -#gcode #gcode_layer_slider .slider-handle { - width: 14px; - height: 14px; - margin-left: -3px; - margin-top: -7px; -} -#gcode #gcode_command_slider .slider-handle { - width: 14px; - height: 14px; - margin-left: -7px; - margin-top: -3px; -} + /** Terminal output */ #term #terminal-output { min-height: 70vh; diff --git a/src/octoprint/plugins/svgtogcode/static/js/working_area.js b/src/octoprint/plugins/svgtogcode/static/js/working_area.js index e238e6d5..3166be08 100644 --- a/src/octoprint/plugins/svgtogcode/static/js/working_area.js +++ b/src/octoprint/plugins/svgtogcode/static/js/working_area.js @@ -687,7 +687,6 @@ $(function(){ }; self.onStartup = function(){ - GCODE.workingArea = self; // Temporary hack to use the gcode parser from the gCodeViewer self.state.workingArea = self; self.files.workingArea = self; diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 76ce4408..b137eb78 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -124,7 +124,7 @@ default_settings = { } }, "gcodeViewer": { - "enabled": True, + "enabled": False, "mobileSizeThreshold": 2 * 1024 * 1024, # 2MB "sizeThreshold": 20 * 1024 * 1024, # 20MB },