client/js/renderer/nodelinkbutton.js
changeset 453 04b7d46e9d67
parent 449 aae670254c49
child 487 48be7ebb3187
equal deleted inserted replaced
452:96f84344a70e 453:04b7d46e9d67
    11 
    11 
    12     _(NodeLinkButton.prototype).extend({
    12     _(NodeLinkButton.prototype).extend({
    13         _init: function() {
    13         _init: function() {
    14             this.type = "Node-link-button";
    14             this.type = "Node-link-button";
    15             this.lastSectorInner = 0;
    15             this.lastSectorInner = 0;
    16             this.startAngle = 120;
    16             this.startAngle = 135;
    17             this.endAngle = 180;
    17             this.endAngle = 190;
    18             this.imageName = "link";
    18             this.imageName = "link";
    19             this.text = "Link to another node";
    19             this.text = "Link to another node";
    20         },
    20         },
    21         mousedown: function(_event, _isTouch) {
    21         mousedown: function(_event, _isTouch) {
    22             if (this.renderer.isEditable()) {
    22             if (this.renderer.isEditable()) {