Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
GHarutyunyan committed Apr 3, 2020
1 parent d8d6ca9 commit a980998
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-image-markup",
"version": "3.0.0",
"version": "3.0.1",
"description": "vue-image-markup will provide you to edit uploaded image easily and save it.",
"main": "src/Editor.vue",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion src/assets/js/arrow.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ fabric.LineArrow = fabric.util.createClass(fabric.Line, {
},

_render: function (ctx) {
console.log('render', params);
this.ctx = ctx;
this.callSuper('_render', ctx);
let p = this.calcLinePoints();
Expand Down
2 changes: 0 additions & 2 deletions src/assets/js/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ export default (function () {
let activeObj;
if (inst.canvas.getActiveObject()) {
activeObj = inst.canvas.getActiveObject();
console.log(color, fillCircle);
activeObj.stroke = color;
activeObj.strokeWidth = lineWidth;
activeObj.fill = fillCircle;
Expand Down Expand Up @@ -187,7 +186,6 @@ export default (function () {
let pointer = inst.canvas.getPointer(o.e);
this.origX = pointer.x;
this.origY = pointer.y;
console.log('dash array', borderRadius);
if (shape === "rect") {
let rect = new fabric.Rect({
left: this.origX,
Expand Down

0 comments on commit a980998

Please sign in to comment.