testing with logs

This commit is contained in:
sanjayk03-dev
2024-01-12 03:25:57 +05:30
parent 20406b2392
commit d8b8e40fae
2 changed files with 3 additions and 0 deletions

View File

@@ -504,11 +504,13 @@ module.exports = {
SvelteComponents.showDialog("Probe", { probeType });
},
runMacros : function(id){
console.log(id);
if( this.config.macros[id].gcode_file_name != this.state.selected || this.config.macros[id].gcode_file_time != this.state.selected_time ){
this.state.selected=this.config.macros[id].gcode_file_name;
this.state.selected_time=this.config.macros[id].gcode_file_time
}
try{
console.log(this.state.selected, this.state.selected_time);
this.load();
this.start_pause();
}catch(error){