mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-12-22 21:23:48 +01:00
another hack to show targetTemp
This commit is contained in:
parent
a692976be6
commit
979403826a
@ -203,10 +203,11 @@ function Printer() {
|
||||
//console.log("temp: ",response.data.hotend+"/"+response.data.hotend_target+" ("+response.data.last_mod+")");
|
||||
self.temperature = data.data.hotend;
|
||||
if(data.data.hotend_target != undefined) {
|
||||
if(self.@@@@)
|
||||
self.targetTemperature = data.data.hotend_target;
|
||||
|
||||
self.targetTemperature = settings["printer.temperature"]; // hack
|
||||
if(state == PRINTING_STATE) { // HACK
|
||||
self.targetTemperature = settings["printer.temperature"];
|
||||
} else {
|
||||
self.targetTemperature = data.data.hotend_target;
|
||||
}
|
||||
}
|
||||
self.alive = (data.data.last_mod < self.maxTempLastMod);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user