Former-commit-id: 305ba1284f374c2bc1af86a1f45fda33889faeff
This commit is contained in:
troyeguo
2022-06-26 17:08:25 +08:00
parent 9ee4abb093
commit 47ffcf6014

View File

@@ -172,6 +172,7 @@ export const bindHtmlEvent = (
if (new Date().getTime() - timeStamp > 100) {
Math.abs(event.deltaX) === 0 && mouseChrome(rendition, event.deltaY);
timeStamp = new Date().getTime();
timeCount = 0;
} else if (timeCount > 10 && new Date().getTime() - timeStamp > 0) {
Math.abs(event.deltaX) === 0 && mouseChrome(rendition, event.deltaY);
timeCount = 0;