Parcourir la source

remove extra status icons

dds
PaulStoffregen il y a 10 ans
Parent
révision
5453d51a54
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. +5
    -2
      gui/red/ui/view.js

+ 5
- 2
gui/red/ui/view.js Voir le fichier

@@ -1194,9 +1194,12 @@ RED.view = (function() {
}
d.inputlist = inputlist;

// never show these little status icons
// people try clicking on them, thinking they're buttons
// or some sort of user interface widget
//node.append("path").attr("class","node_error").attr("d","M 3,-3 l 10,0 l -5,-8 z");
node.append("image").attr("class","node_error hidden").attr("xlink:href","icons/node-error.png").attr("x",0).attr("y",-6).attr("width",10).attr("height",9);
node.append("image").attr("class","node_changed hidden").attr("xlink:href","icons/node-changed.png").attr("x",12).attr("y",-6).attr("width",10).attr("height",10);
//node.append("image").attr("class","node_error hidden").attr("xlink:href","icons/node-error.png").attr("x",0).attr("y",-6).attr("width",10).attr("height",9);
//node.append("image").attr("class","node_changed hidden").attr("xlink:href","icons/node-changed.png").attr("x",12).attr("y",-6).attr("width",10).attr("height",10);
});

node.each(function(d,i) {

Chargement…
Annuler
Enregistrer