askbot-dragon 1.3.78 → 1.3.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.3.78",
3
+ "version": "1.3.79",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -900,6 +900,10 @@ export default {
900
900
  if (newScale > 2) {
901
901
  newScale = 2;
902
902
  }
903
+ // 最大缩放比例限制
904
+ if(newScale < 1) {
905
+ newScale = 1;
906
+ }
903
907
  // 记住使用的缩放值
904
908
  that.displacement.scale = newScale;
905
909
  // console.log(newScale);