little fixes in some nodes

This commit is contained in:
tamat
2018-06-21 14:54:25 +02:00
parent 77efe120f8
commit 1b14b8aa78
7 changed files with 203 additions and 200 deletions

View File

@@ -55,7 +55,7 @@ Editor.prototype.addLoadCounter = function()
var self = this;
setInterval(function() {
meter.querySelector(".cpuload .fgload").style.width = ((2*self.graph.elapsed_time) * 90) + "px";
meter.querySelector(".cpuload .fgload").style.width = ((2*self.graph.execution_time) * 90) + "px";
if(self.graph.status == LGraph.STATUS_RUNNING)
meter.querySelector(".gpuload .fgload").style.width = ((self.graphcanvas.render_time*10) * 90) + "px";
else