| changeset 487 | 48be7ebb3187 |
| parent 453 | 04b7d46e9d67 |
| child 622 | 02e3c464223f |
--- a/client/js/renderer/nodelinkbutton.js Thu Jun 18 16:25:21 2015 +0200 +++ b/client/js/renderer/nodelinkbutton.js Thu Jun 18 16:50:54 2015 +0200 @@ -13,8 +13,8 @@ _init: function() { this.type = "Node-link-button"; this.lastSectorInner = 0; - this.startAngle = 135; - this.endAngle = 190; + this.startAngle = this.options.hide_nodes ? 135 : 90; + this.endAngle = this.options.hide_nodes ? 190 : 180; this.imageName = "link"; this.text = "Link to another node"; },