client/js/renderer/scene.js
changeset 445 705a2e9c6c9d
parent 435 e529b633c339
child 447 e246651b6626
equal deleted inserted replaced
436:4021b3ea388b 445:705a2e9c6c9d
    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;