Skip to content

Commit

Permalink
fix initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Feb 17, 2022
1 parent fc41914 commit 3ea891d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/node-editor/inputs/Vector4Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class Vector4Editor extends BaseNode {
const fieldX = new NumberInput().setTagColor( 'red' ).onChange( onUpdate );
const fieldY = new NumberInput().setTagColor( 'green' ).onChange( onUpdate );
const fieldZ = new NumberInput().setTagColor( 'blue' ).onChange( onUpdate );
const fieldW = new NumberInput().setTagColor( 'white' ).onChange( onUpdate );
const fieldW = new NumberInput( 1 ).setTagColor( 'white' ).onChange( onUpdate );

this.add( new LabelElement( 'XYZW' )
.add( fieldX )
Expand Down

0 comments on commit 3ea891d

Please sign in to comment.