mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-18 02:41:37 +02:00
Preventing default if moving to avoid stutter
This commit is contained in:
@@ -31,6 +31,7 @@ export default class Scroll {
|
|||||||
*/
|
*/
|
||||||
onMouseWheel_(event) {
|
onMouseWheel_(event) {
|
||||||
if (this.ws_.isMoving) {
|
if (this.ws_.isMoving) {
|
||||||
|
event.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user