aboutsummaryrefslogtreecommitdiff
path: root/js/tools/ShapeTool.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools/ShapeTool.js')
-rwxr-xr-xjs/tools/ShapeTool.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js
index 367ab78d..6956aea8 100755
--- a/js/tools/ShapeTool.js
+++ b/js/tools/ShapeTool.js
@@ -60,7 +60,6 @@ exports.ShapeTool = Montage.create(DrawingTool, {
60 if(drawData) { 60 if(drawData) {
61 if(!this._useExistingCanvas()) { 61 if(!this._useExistingCanvas()) {
62 canvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument); 62 canvas = document.application.njUtils.make("canvas", {"data-RDGE-id": NJUtils.generateRandom()}, this.application.ninja.currentDocument);
63 document.application.njUtils.createModelWithShape(canvas);
64 63
65 var styles = document.application.njUtils.stylesFromDraw(canvas, ~~drawData.width, ~~drawData.height, drawData); 64 var styles = document.application.njUtils.stylesFromDraw(canvas, ~~drawData.width, ~~drawData.height, drawData);
66 this.application.ninja.elementMediator.addElements(canvas, styles); 65 this.application.ninja.elementMediator.addElements(canvas, styles);