diff --git a/README-zh-CN.md b/README-zh-CN.md index 4007f21..77d562e 100644 --- a/README-zh-CN.md +++ b/README-zh-CN.md @@ -195,6 +195,10 @@ forIe9:function(){ --- +#### 3.0.3 + +- bugfix:[#固定裁剪框位置时图片拖动优化建议 #74](https://github.com/acccccccb/vue-img-cutter/issues/74) + #### 2.2.5 - Bugfix:移除 template 中的 this diff --git a/README.md b/README.md index bdeb00f..fc89195 100644 --- a/README.md +++ b/README.md @@ -194,6 +194,12 @@ ForIE9:function(){ --- +[#### 2.2.6 + +- bugfix:[#固定裁剪框位置时图片拖动优化建议 #74](https://github.com/acccccccb/vue-img-cutter/issues/74)]() + +--- + #### 2.2.5 - Bugfix:remove this in template diff --git a/package-lock.json b/package-lock.json index 7970823..81cd1a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vue-img-cutter", - "version": "2.2.5", + "version": "2.2.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 64b5ef7..85ff2d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-img-cutter", - "version": "2.2.5", + "version": "2.2.6", "description": "A image crop plug-in for Vue,you can use it to rotate、zoom images and cut any size", "author": "acccccccb <tabzhang@foxmail.com>", "private": false, diff --git a/src/components/ImgCutter.vue b/src/components/ImgCutter.vue index a11e302..40374c4 100644 --- a/src/components/ImgCutter.vue +++ b/src/components/ImgCutter.vue @@ -110,6 +110,9 @@ @mousemove="toolBoxMouseMove" @mouseleave="toolBoxMouseLeave" class="toolBoxControl" + :style="{ + pointerEvents: moveAble ? 'auto' : 'none', + }" > <div class="toolBoxControlBox"> <div class="controlBox">