Skip to content

Commit

Permalink
Change resize cropper properties
Browse files Browse the repository at this point in the history
  • Loading branch information
lilitsimonyan98 committed Apr 21, 2020
1 parent 6f28c6a commit d4ca485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions 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.12",
"version": "3.0.13",
"description": "vue-image-markup will provide you to edit uploaded image easily and save it.",
"main": "src/Editor.vue",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions src/assets/js/crop.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export default (function () {
cornerStyle: properties.cornerStyle,
transparentCorners: properties.transparentCorners,
hasRotatingPoint: properties.hasRotatingPoint,
lockUniScaling: properties.lockUniScaling,
noScaleCache: properties.noScaleCache,
strokeUniform: properties.strokeUniform,
lockUniScaling: JSON.parse(properties.lockUniScaling),
noScaleCache: JSON.parse(properties.noScaleCache),
strokeUniform: JSON.parse(properties.strokeUniform),
clipTo: function (context) {
context.translate(-this.width / 2, -this.height / 2);
for (let x = 0; x <= this.width; x += this.width / 3) {
Expand Down

0 comments on commit d4ca485

Please sign in to comment.