client/js/renderer/noderemovebutton.js
changeset 487 48be7ebb3187
parent 453 04b7d46e9d67
equal deleted inserted replaced
486:f1ff0529ba41 487:48be7ebb3187
    11 
    11 
    12     _(NodeRemoveButton.prototype).extend({
    12     _(NodeRemoveButton.prototype).extend({
    13         _init: function() {
    13         _init: function() {
    14             this.type = "Node-remove-button";
    14             this.type = "Node-remove-button";
    15             this.lastSectorInner = 0;
    15             this.lastSectorInner = 0;
    16             this.startAngle = -10;
    16             this.startAngle = this.options.hide_nodes ? -10 : 0;
    17             this.endAngle = 45;
    17             this.endAngle = this.options.hide_nodes ? 45 : 90;
    18             this.imageName = "remove";
    18             this.imageName = "remove";
    19             this.text = "Remove";
    19             this.text = "Remove";
    20         },
    20         },
    21         mouseup: function() {
    21         mouseup: function() {
    22             this.renderer.click_target = null;
    22             this.renderer.click_target = null;