addEventListener {passive: false} (#16575)

This commit is contained in:
w-e-w
2024-10-29 23:59:04 +09:00
committed by GitHub
parent f31faf6f14
commit 59481435f4
3 changed files with 3 additions and 3 deletions

View File

@@ -816,7 +816,7 @@ onUiLoaded(async() => {
// Increase or decrease brush size based on scroll direction
adjustBrushSize(elemId, e.deltaY);
}
});
}, {passive: false});
// Handle the move event for pan functionality. Updates the panX and panY variables and applies the new transform to the target element.
function handleMoveKeyDown(e) {