From b43efee1ef842700ee2e661c3283bf5d6714e514 Mon Sep 17 00:00:00 2001 From: tabzhang Date: Sun, 19 Feb 2023 14:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E8=A3=81=E5=89=AA=E6=A1=86?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E6=97=B6=E5=9B=BE=E7=89=87=E6=8B=96=E5=8A=A8?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BB=BA=E8=AE=AE=20#74=20for=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-zh-CN.md | 4 ++++ README.md | 6 ++++++ package-lock.json | 2 +- package.json | 2 +- src/components/ImgCutter.vue | 3 +++ 5 files changed, 15 insertions(+), 2 deletions(-) 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 ", "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', + }" >