Skip to content

Commit

Permalink
change constructor signature, #255
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 11, 2024
1 parent e606c33 commit c867570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/diffusion/view/DiffusionScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ export default class DiffusionScreenView extends BaseScreenView {
model.particleSystem.particle1Settings,
model.particleSystem.particle2Settings,
model.particleSystem.numberOfParticlesProperty,
viewProperties.numberOfParticleTypesProperty,
model.container.isDividedProperty,
model.modelViewTransform,
viewProperties.numberOfParticleTypesProperty,
panelsTandem.createTandem( 'settingsPanel' ) );

// Panel for controlling visibility of 'tools'
Expand Down
4 changes: 2 additions & 2 deletions js/diffusion/view/DiffusionSettingsPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ export default class DiffusionSettingsPanel extends Panel {
* @param particle1Settings - settings for particle type 1
* @param particle2Settings - settings for particle type 2
* @param numberOfParticlesProperty
* @param numberOfParticleTypesProperty
* @param isDividedProperty
* @param modelViewTransform
* @param numberOfParticleTypesProperty
* @param tandem
*/
public constructor( particle1Settings: DiffusionSettings,
particle2Settings: DiffusionSettings,
numberOfParticlesProperty: TReadOnlyProperty<number>,
numberOfParticleTypesProperty: TReadOnlyProperty<number>,
isDividedProperty: Property<boolean>,
modelViewTransform: ModelViewTransform2,
numberOfParticleTypesProperty: TReadOnlyProperty<number>,
tandem: Tandem ) {

const options = combineOptions<PanelOptions>( {}, GasPropertiesConstants.PANEL_OPTIONS, {
Expand Down

0 comments on commit c867570

Please sign in to comment.