equal
deleted
inserted
replaced
12 this.representations = []; |
12 this.representations = []; |
13 this.$.html(_renkan.options.templates['templates/scene.html'](_renkan)); |
13 this.$.html(_renkan.options.templates['templates/scene.html'](_renkan)); |
14 this.onStatusChange(); |
14 this.onStatusChange(); |
15 this.canvas_$ = this.$.find(".Rk-Canvas"); |
15 this.canvas_$ = this.$.find(".Rk-Canvas"); |
16 this.labels_$ = this.$.find(".Rk-Labels"); |
16 this.labels_$ = this.$.find(".Rk-Labels"); |
17 this.editor_$ = this.$.find(".Rk-Editor"); |
17 if (!_renkan.options.popup_editor){ |
|
18 this.editor_$ = $("#" + _renkan.options.editor_panel); |
|
19 }else{ |
|
20 this.editor_$ = this.$.find(".Rk-Editor"); |
|
21 } |
18 this.notif_$ = this.$.find(".Rk-Notifications"); |
22 this.notif_$ = this.$.find(".Rk-Notifications"); |
19 paper.setup(this.canvas_$[0]); |
23 paper.setup(this.canvas_$[0]); |
20 this.scale = 1; |
24 this.scale = 1; |
21 this.initialScale = 1; |
25 this.initialScale = 1; |
22 this.offset = paper.view.center; |
26 this.offset = paper.view.center; |