File tree 1 file changed +0
-10
lines changed
src/renderer/renderer/events 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -229,23 +229,13 @@ MouseEventHandler.prototype = {
229
229
this . dispatchMouseEvent ( this . createMouseEvent ( "mouseout" , {
230
230
clientX : pos . x , clientY : pos . y , button : evt . button
231
231
} ) , this . lastPickObj ) ;
232
- if ( ! curObj ) { // Nothing picked, this means we enter the xml3d canvas
233
- this . dispatchMouseEvent ( this . createMouseEvent ( "mouseover" , {
234
- clientX : pos . x , clientY : pos . y , button : evt . button
235
- } ) , this . _defaultTarget ) ;
236
- }
237
232
}
238
233
if ( curObj ) {
239
234
// The mouse is now over a different object, so call the new
240
235
// object's mouseover method
241
236
this . dispatchMouseEvent ( this . createMouseEvent ( "mouseover" , {
242
237
clientX : pos . x , clientY : pos . y , button : evt . button
243
238
} ) , curObj ) ;
244
- if ( ! this . lastPickObj ) { // Nothing was picked before, this means we leave the xml3d canvas
245
- this . dispatchMouseEvent ( this . createMouseEvent ( "mouseout" , {
246
- clientX : pos . x , clientY : pos . y , button : evt . button
247
- } ) , this . _defaultTarget ) ;
248
- }
249
239
}
250
240
251
241
this . lastPickObj = curObj ;
You can’t perform that action at this time.
0 commit comments