Browse Source

Remove canvas related stuff from the CommandAbstract

pull/3411/head
Artur Arseniev 5 years ago
parent
commit
17c01e50b7
  1. 10
      src/commands/view/CommandAbstract.js

10
src/commands/view/CommandAbstract.js

@ -18,16 +18,6 @@ export default Backbone.View.extend({
this.freezClass = this.ppfx + 'freezed';
this.canvas = this.em.get && this.em.get('Canvas');
if (this.em.get) this.setElement(this.getCanvas());
if (this.canvas) {
this.$canvas = this.$el;
// this.frameEl = this.canvas.getFrameEl();
this.canvasTool = this.getCanvasTools();
// this.bodyEl = this.getCanvasBody();
}
this.init(this.config);
},

Loading…
Cancel
Save