svelte-dnd-action
Advanced tools
Comparing version 0.9.3 to 0.9.4
@@ -43,3 +43,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.9.3", | ||
"version": "0.9.4", | ||
"repository": { | ||
@@ -46,0 +46,0 @@ "type": "git", |
@@ -468,2 +468,5 @@ import { | ||
// realtime update for dropFromOthersDisabled | ||
function getConfigProp(dz, propName) { | ||
return dzToConfig.get(dz) ? dzToConfig.get(dz)[propName] : config[propName]; | ||
} | ||
if (isWorkingOnPreviousDrag && config.dropFromOthersDisabled !== dropFromOthersDisabled) { | ||
@@ -473,4 +476,4 @@ if (dropFromOthersDisabled) { | ||
[node], | ||
dz => dzToConfig.get(dz).dropTargetStyle, | ||
dz => dzToConfig.get(dz).dropTargetClasses | ||
dz => getConfigProp(dz, "dropTargetStyle"), | ||
dz => getConfigProp(dz, "dropTargetClasses") | ||
); | ||
@@ -480,4 +483,4 @@ } else { | ||
[node], | ||
dz => dzToConfig.get(dz).dropTargetStyle, | ||
dz => dzToConfig.get(dz).dropTargetClasses | ||
dz => getConfigProp(dz, "dropTargetStyle"), | ||
dz => getConfigProp(dz, "dropTargetClasses") | ||
); | ||
@@ -484,0 +487,0 @@ } |
Sorry, the diff of this file is too big to display
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
266334
6220