Browse Source

remove extra status icons

dds
PaulStoffregen 10 years ago
parent
commit
5453d51a54
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      gui/red/ui/view.js

+ 5
- 2
gui/red/ui/view.js View File

@@ -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) {

Loading…
Cancel
Save