client/js/renderer/nodeenlargebutton.js
changeset 487 48be7ebb3187
parent 453 04b7d46e9d67
--- a/client/js/renderer/nodeenlargebutton.js	Thu Jun 18 16:25:21 2015 +0200
+++ b/client/js/renderer/nodeenlargebutton.js	Thu Jun 18 16:50:54 2015 +0200
@@ -14,8 +14,8 @@
         _init: function() {
             this.type = "Node-enlarge-button";
             this.lastSectorInner = 0;
-            this.startAngle = -55;
-            this.endAngle = -10;
+            this.startAngle = this.options.hide_nodes ? -55 : -45;
+            this.endAngle = this.options.hide_nodes ? -10 : 0;
             this.imageName = "enlarge";
             this.text = "Enlarge";
         },