Skip to content

Commit

Permalink
more consistent formatting, see #398
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 21, 2023
1 parent 0f2216a commit 51e6dde
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions js/quadrilateral/view/QuadrilateralScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ export default class QuadrilateralScreenView extends ScreenView {
// Create view subcomponents
//---------------------------------------------------------------------------------------------------------------
this.modelViewTransform = new QuadrilateralModelViewTransform( QuadrilateralConstants.MODEL_BOUNDS, this.layoutBounds );
this.quadrilateralDescriber = new QuadrilateralDescriber( model.quadrilateralShapeModel, visibilityModel.shapeNameVisibleProperty, visibilityModel.markersVisibleProperty, this.modelViewTransform );
this.quadrilateralDescriber = new QuadrilateralDescriber(
model.quadrilateralShapeModel,
visibilityModel.shapeNameVisibleProperty,
visibilityModel.markersVisibleProperty,
this.modelViewTransform
);
this.quadrilateralSoundView = new QuadrilateralSoundView( model, optionsModel.soundOptionsModel );

// miscellaneous sim and visibility control components
Expand Down Expand Up @@ -151,7 +156,11 @@ export default class QuadrilateralScreenView extends ScreenView {
if ( QuadrilateralQueryParameters.deviceConnection ) {
assert && assert( this.quadrilateralTangibleController, 'The QuadrilateralTangibleController is not available' );
deviceConnectionParentNode.children = [
new QuadrilateralTangibleControls( model.tangibleConnectionModel, this.quadrilateralTangibleController!, tandem.createTandem( 'connectionControls' ) )
new QuadrilateralTangibleControls(
model.tangibleConnectionModel,
this.quadrilateralTangibleController!,
tandem.createTandem( 'connectionControls' )
)
];
deviceConnectionParentNode.top = gridNode.top;
deviceConnectionParentNode.left = resetAllButton.left;
Expand Down

0 comments on commit 51e6dde

Please sign in to comment.