client/js/renderer/nodeeditor.js
changeset 447 e246651b6626
parent 445 705a2e9c6c9d
child 450 88e8673aaeeb
equal deleted inserted replaced
446:ce8dccd4321e 447:e246651b6626
   200             this.editor_$.find("img").load(function() {
   200             this.editor_$.find("img").load(function() {
   201                 _this.redraw();
   201                 _this.redraw();
   202             });
   202             });
   203         },
   203         },
   204         redraw: function() {
   204         redraw: function() {
   205         	if (this.options.popup_editor){
   205             if (this.options.popup_editor){
   206         		var _coords = this.source_representation.paper_coords;
   206                 var _coords = this.source_representation.paper_coords;
   207         		Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$);        		
   207                 Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$);                
   208         	}
   208             }
   209             this.editor_$.show();
   209             this.editor_$.show();
   210             paper.view.draw();
   210             paper.view.draw();
   211         }
   211         }
   212     }).value();
   212     }).value();
   213 
   213