client/js/renderer/nodeshrinkbutton.js
changeset 487 48be7ebb3187
parent 453 04b7d46e9d67
--- a/client/js/renderer/nodeshrinkbutton.js	Thu Jun 18 16:25:21 2015 +0200
+++ b/client/js/renderer/nodeshrinkbutton.js	Thu Jun 18 16:50:54 2015 +0200
@@ -13,8 +13,8 @@
         _init: function() {
             this.type = "Node-shrink-button";
             this.lastSectorInner = 0;
-            this.startAngle = -170;
-            this.endAngle = -125;
+            this.startAngle = this.options.hide_nodes ? -170 : -180;
+            this.endAngle = this.options.hide_nodes ? -125 : -135;
             this.imageName = "shrink";
             this.text = "Shrink";
         },