Skip to content

Commit

Permalink
Update HTMLMesh.js (mrdoob#23381)
Browse files Browse the repository at this point in the history
Render number input values in HTMLMesh
  • Loading branch information
zz85 authored and donmccurdy committed Mar 10, 2022
1 parent 460cd34 commit 1a849f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/interactive/HTMLMesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function html2canvas( element ) {
drawBorder( style, 'borderBottom', x, y + height, width, 0 );
drawBorder( style, 'borderRight', x + width, y, 0, height );

if ( element.type === 'color' || element.type === 'text' ) {
if ( element.type === 'color' || element.type === 'text' || element.type === 'number' ) {

clipper.add( { x: x, y: y, width: width, height: height } );

Expand Down

0 comments on commit 1a849f7

Please sign in to comment.