File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ class MinimapElement {
498498 this . subscriptions . add ( this . subscribeTo ( this . getFrontCanvas ( ) , {
499499 mousedown : ( e ) => { this . canvasPressed ( this . extractMouseEventData ( e ) ) } ,
500500 touchstart : ( e ) => { this . canvasPressed ( this . extractTouchEventData ( e ) ) }
501- } ) )
501+ } , { passive : true } ) )
502502 }
503503
504504 /**
@@ -515,7 +515,7 @@ class MinimapElement {
515515 this . visibleAreaSubscription = this . subscribeTo ( this . visibleArea , {
516516 mousedown : ( e ) => { this . startDrag ( this . extractMouseEventData ( e ) ) } ,
517517 touchstart : ( e ) => { this . startDrag ( this . extractTouchEventData ( e ) ) }
518- } )
518+ } , { passive : true } )
519519
520520 this . subscriptions . add ( this . visibleAreaSubscription )
521521 }
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ class MinimapQuickSettingsElement {
117117
118118 subs . add ( this . subscribeTo ( this . hiddenInput , {
119119 focusout : ( e ) => { this . destroy ( ) }
120- } ) )
120+ } , { passive : true } ) )
121121
122122 subs . add ( this . subscribeTo ( this . onLeftButton , {
123123 mousedown : ( e ) => {
You can’t perform that action at this time.
0 commit comments