From 17c01e50b776384bb7766f3722ae5ab27ec21559 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 30 Mar 2021 21:50:57 +0200 Subject: [PATCH] Remove canvas related stuff from the CommandAbstract --- src/commands/view/CommandAbstract.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/commands/view/CommandAbstract.js b/src/commands/view/CommandAbstract.js index ede7c1d5c..fb5284353 100644 --- a/src/commands/view/CommandAbstract.js +++ b/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); },