Explorar el Código

Update ui.three.js

Fixed #22033.
Michael Herzog hace 4 años
padre
commit
c55e5591ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/js/libs/ui.three.js

+ 1 - 1
editor/js/libs/ui.three.js

@@ -36,7 +36,7 @@ class UITexture extends UISpan {
 			input.click();
 			input.click();
 
 
 		}, false );
 		}, false );
-		canvas.addEventListener( 'drop', function () {
+		canvas.addEventListener( 'drop', function ( event ) {
 
 
 			event.preventDefault();
 			event.preventDefault();
 			event.stopPropagation();
 			event.stopPropagation();