mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-19 13:20:50 -04:00
fix bug
Former-commit-id: 305ba1284f374c2bc1af86a1f45fda33889faeff
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user