Skip to content

Commit b131ca8

Browse files
Small fixes
1 parent 0ef4d3a commit b131ca8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-drag-resize",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Vue Component for resize and drag elements",
55
"author": "Kirill Murashov <me@kirillmurashov.com>",
66
"main": "dist/index.js",

src/components/vue-drag-resize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export default {
251251
this.active = true;
252252
}
253253

254-
if (ev.button !== 0) {
254+
if (ev.button && ev.button !== 0) {
255255
return
256256
}
257257

0 commit comments

Comments
 (0)