From 565593f7c2ae23ec73ced88ff6529ac34e313dfc Mon Sep 17 00:00:00 2001 From: tackchen Date: Fri, 26 Nov 2021 11:16:26 +0800 Subject: [PATCH] feat: 0.1.10 fix sizeDetector in zoom mode --- helper/version.en.md | 5 ++++- helper/version.md | 5 ++++- index.html | 2 +- npm/disable-devtool.min.js | 2 +- npm/package.json | 2 +- package.json | 2 +- public/main.js | 3 ++- src/detector/size.js | 28 +++++++++++++++++++++++++--- src/version.js | 2 +- 9 files changed, 40 insertions(+), 11 deletions(-) diff --git a/helper/version.en.md b/helper/version.en.md index d337c38..8edfac8 100644 --- a/helper/version.en.md +++ b/helper/version.en.md @@ -67,4 +67,7 @@ 3. Modify the event model ## 0.1.9 -1. Fix the bug of accidental injury in IFrame \ No newline at end of file +1. Fix the bug of accidental injury in IFrame + +## 0.1.10 +3. Fix the problem that sizeDetector is accidentally injured in browser zoom mode \ No newline at end of file diff --git a/helper/version.md b/helper/version.md index 8ed2f91..175284c 100644 --- a/helper/version.md +++ b/helper/version.md @@ -67,4 +67,7 @@ 3. 修改事件模型 ## 0.1.9 -1. 修复IFrame中误伤的bug \ No newline at end of file +1. 修复IFrame中误伤的bug + +## 0.1.10 +1. 修复sizeDetector在浏览器缩放模式下误伤的问题 \ No newline at end of file diff --git a/index.html b/index.html index 428d225..d471c83 100644 --- a/index.html +++ b/index.html @@ -182,7 +182,7 @@ declare type DETECTOR_TYPE = -1 | 0 | 1 | 2 | 3;