Closed KatieWoe closed 2 years ago
I think it is because of this negative spacing:
return new VBox( { spacing: -2, children: [ frictionTextNode, frictionSlider ], resize: false } );
That is where the assertion comes from. The height of the contents are less than one so that matches the error message.
Removing the spacing option alltogether seems to work OK. I think this was added as a slight pixel polish. Adjusting it slightly seems acceptable to me. Issue resolved, closing.