@zhangqingcq/vgce 0.1.23 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/style.css +1 -1
- package/dist/vgce.js +5 -5
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +1 -1
- package/src/utils/mqtt-net.ts +1 -1
package/package.json
CHANGED
@@ -131,7 +131,7 @@
|
|
131
131
|
if (e.wheelDelta > 0) {
|
132
132
|
preview_data.config.svg.scale = myFixed(preview_data.config.svg.scale + 0.1, 1)
|
133
133
|
getZoomPosition(e, preview_data.config.svg.scale, preview_data.layout_center, true)
|
134
|
-
} else {
|
134
|
+
} else if (preview_data.config.svg.scale > 0.1) {
|
135
135
|
preview_data.config.svg.scale = myFixed(preview_data.config.svg.scale - 0.1, 1)
|
136
136
|
getZoomPosition(e, preview_data.config.svg.scale, preview_data.layout_center, false)
|
137
137
|
}
|
package/src/utils/mqtt-net.ts
CHANGED