client/js/renderer/nodeeditor.js
changeset 445 705a2e9c6c9d
parent 435 e529b633c339
child 447 e246651b6626
equal deleted inserted replaced
436:4021b3ea388b 445:705a2e9c6c9d
   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             var _coords = this.source_representation.paper_coords;
   205         	if (this.options.popup_editor){
   206             Utils.drawEditBox(this.options, _coords, this.editor_block, this.source_representation.circle_radius * 0.75, this.editor_$);
   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_$);        		
       
   208         	}
   207             this.editor_$.show();
   209             this.editor_$.show();
   208             paper.view.draw();
   210             paper.view.draw();
   209         }
   211         }
   210     }).value();
   212     }).value();
   211 
   213