got rid of the gcode viewer - not in use here.

This commit is contained in:
Teja 2015-08-15 19:39:51 +02:00
parent 01d1f5b181
commit 45a42c4972
3 changed files with 2 additions and 28 deletions

View file

@ -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;

View file

@ -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;

View file

@ -124,7 +124,7 @@ default_settings = {
}
},
"gcodeViewer": {
"enabled": True,
"enabled": False,
"mobileSizeThreshold": 2 * 1024 * 1024, # 2MB
"sizeThreshold": 20 * 1024 * 1024, # 20MB
},