Added the option "capturePointerEvents" to InteractionDelegate.
This commit is contained in:
+2
-1
@@ -898,7 +898,7 @@ export class DOMScatterContainer {
|
||||
*/
|
||||
constructor(
|
||||
element,
|
||||
{ stopEvents = 'auto', claimEvents = true, useCapture = true, touchAction = 'none', debugCanvas = null } = {}
|
||||
{ stopEvents = 'auto', claimEvents = true, useCapture = true, capturePointerEvents = true, touchAction = 'none', debugCanvas = null } = {}
|
||||
) {
|
||||
this.onCapture = null
|
||||
this.element = element
|
||||
@@ -923,6 +923,7 @@ export class DOMScatterContainer {
|
||||
this.scatter = new Map()
|
||||
this.delegate = new InteractionMapper(element, this, {
|
||||
useCapture,
|
||||
capturePointerEvents,
|
||||
mouseWheelElement: window
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user