Browse Source

Update HTMLMesh.js

Fix code style.
Michael Herzog 1 năm trước cách đây
mục cha
commit
846fdf8f6a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/jsm/interactive/HTMLMesh.js

+ 1 - 1
examples/jsm/interactive/HTMLMesh.js

@@ -506,7 +506,7 @@ function html2canvas( element ) {
 
 	// console.time( 'drawElement' );
 
-	context.clearRect(0, 0, canvas.width, canvas.height);
+	context.clearRect( 0, 0, canvas.width, canvas.height );
 
 	drawElement( element );