svelte-dnd-action
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -862,2 +862,7 @@ (function (global, factory) { | ||
function handleMouseDown(e) { | ||
// prevents responding to any button but left click which equals 0 (which is falsy) | ||
if (e.button) { | ||
console.debug(`ignoring none left click button: ${e.button}`); | ||
return; | ||
} | ||
if (isWorkingOnPreviousDrag) { | ||
@@ -864,0 +869,0 @@ console.debug('cannot start a new drag before finalizing previous one'); |
@@ -33,3 +33,3 @@ { | ||
"description": "*An awesome drag and drop library for Svelte 3 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"dependencies": { | ||
@@ -36,0 +36,0 @@ "acorn": "^7.1.1", |
@@ -273,2 +273,7 @@ import { observe, unobserve } from './helpers/observer'; | ||
function handleMouseDown(e) { | ||
// prevents responding to any button but left click which equals 0 (which is falsy) | ||
if (e.button) { | ||
console.debug(`ignoring none left click button: ${e.button}`); | ||
return; | ||
} | ||
if (isWorkingOnPreviousDrag) { | ||
@@ -275,0 +280,0 @@ console.debug('cannot start a new drag before finalizing previous one'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133955
2807