@maas/vue-equipment 0.16.5 → 0.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/nuxt/module.json
CHANGED
|
@@ -151,7 +151,7 @@ export function useDrawerSnap(args) {
|
|
|
151
151
|
case "top":
|
|
152
152
|
case "bottom":
|
|
153
153
|
const mappedSnapPointY = mapSnapPoint(toValue(snapPoint));
|
|
154
|
-
if (!mappedSnapPointY)
|
|
154
|
+
if (!mappedSnapPointY && mappedSnapPointY !== 0)
|
|
155
155
|
return;
|
|
156
156
|
const closestY = await findClosestSnapPoint({
|
|
157
157
|
draggedX,
|
|
@@ -168,7 +168,7 @@ export function useDrawerSnap(args) {
|
|
|
168
168
|
case "left":
|
|
169
169
|
case "right":
|
|
170
170
|
const mappedSnapPointX = mapSnapPoint(toValue(snapPoint));
|
|
171
|
-
if (!mappedSnapPointX)
|
|
171
|
+
if (!mappedSnapPointX && mappedSnapPointX !== 0)
|
|
172
172
|
return;
|
|
173
173
|
const closestX = await findClosestSnapPoint({
|
|
174
174
|
draggedX: mappedSnapPointX,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.6",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@antfu/ni": "^0.21.12",
|