client/js/renderer/nodeeditbutton.js
changeset 487 48be7ebb3187
parent 453 04b7d46e9d67
equal deleted inserted replaced
486:f1ff0529ba41 487:48be7ebb3187
    11 
    11 
    12     _(NodeEditButton.prototype).extend({
    12     _(NodeEditButton.prototype).extend({
    13         _init: function() {
    13         _init: function() {
    14             this.type = "Node-edit-button";
    14             this.type = "Node-edit-button";
    15             this.lastSectorInner = 0;
    15             this.lastSectorInner = 0;
    16             this.startAngle = -125;
    16             this.startAngle = this.options.hide_nodes ? -125 : -135;
    17             this.endAngle = -55;
    17             this.endAngle = this.options.hide_nodes ? -55 : -45;
    18             this.imageName = "edit";
    18             this.imageName = "edit";
    19             this.text = "Edit";
    19             this.text = "Edit";
    20         },
    20         },
    21         mouseup: function() {
    21         mouseup: function() {
    22             if (!this.renderer.is_dragging) {
    22             if (!this.renderer.is_dragging) {