@@ -53,8 +53,6 @@ export default class MouseBackend {
53
53
this . handleWindowMoveCapture . bind ( this )
54
54
this . handleWindowMoveEndCapture =
55
55
this . handleWindowMoveEndCapture . bind ( this )
56
- this . handleWindowDragstart =
57
- this . handleWindowDragstart . bind ( this )
58
56
}
59
57
60
58
setup ( ) {
@@ -75,8 +73,6 @@ export default class MouseBackend {
75
73
this . handleWindowMoveCapture , true )
76
74
window . addEventListener ( 'mouseup' ,
77
75
this . handleWindowMoveEndCapture , true )
78
- window . addEventListener ( 'dragstart' ,
79
- this . handleWindowDragstart , true )
80
76
}
81
77
82
78
getSourceClientOffset ( sourceId ) {
@@ -99,8 +95,6 @@ export default class MouseBackend {
99
95
'mousemove' , this . handleWindowMoveCapture , true )
100
96
window . removeEventListener (
101
97
'mouseup' , this . handleWindowMoveEndCapture , true )
102
- window . removeEventListener (
103
- 'dragstart' , this . handleWindowDragstart , true )
104
98
}
105
99
106
100
connectDragSource ( sourceId , node ) {
@@ -212,11 +206,6 @@ export default class MouseBackend {
212
206
this . actions . endDrag ( )
213
207
}
214
208
215
- // Disable drag on images (Firefox)
216
- handleWindowDragstart ( e ) {
217
- e . preventDefault ( )
218
- }
219
-
220
209
installSourceNodeRemovalObserver ( node ) {
221
210
this . uninstallSourceNodeRemovalObserver ( )
222
211
0 commit comments