equal
deleted
inserted
replaced
555 |
555 |
556 Rkns.Renderer.TempEdge.prototype._init = function() { |
556 Rkns.Renderer.TempEdge.prototype._init = function() { |
557 this.renderer.edge_layer.activate(); |
557 this.renderer.edge_layer.activate(); |
558 this.type = "temp-edge"; |
558 this.type = "temp-edge"; |
559 |
559 |
560 var _color = this.project.get("users").get(this.renderer.renkan.current_user).get("color") || "#000000"; |
560 var _color = (this.project.get("users").get(this.renderer.renkan.current_user) || Rkns.Renderer._USER_PLACEHOLDER).get("color"); |
561 this.line = new paper.Path(); |
561 this.line = new paper.Path(); |
562 this.line.strokeColor = _color; |
562 this.line.strokeColor = _color; |
563 this.line.add([0,0],[0,0]); |
563 this.line.add([0,0],[0,0]); |
564 this.line.__representation = this; |
564 this.line.__representation = this; |
565 this.arrow = new paper.Path(); |
565 this.arrow = new paper.Path(); |