Skip to content

Commit

Permalink
update minCustomMass and density, #404 #418
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 4, 2024
1 parent d01a5b1 commit a7c9606
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/buoyancy-basics/model/BuoyancyBasicsExploreModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class BuoyancyBasicsExploreModel extends DensityBuoyancyModel {
const sharedBlockOptions = {
customMaterialOptions: {
densityPropertyOptions: {
range: new Range( 10, 10000 )
range: new Range( 100, 10000 )
}
},
availableMassMaterials: [
Expand Down
1 change: 0 additions & 1 deletion js/buoyancy-basics/view/BuoyancyBasicsExploreScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default class BuoyancyBasicsExploreScreenView extends BuoyancyScreenView<
ownsCustomDensityRange: false,
customKeepsConstantDensity: true,
tandem: tandem,
minCustomMass: 0.1,
maxCustomMass: 15
}
);
Expand Down
3 changes: 1 addition & 2 deletions js/buoyancy/view/BuoyancyExploreScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export default class BuoyancyExploreScreenView extends BuoyancyScreenView<Buoyan
model.blockA,
model.blockB,
this.popupLayer, {
tandem: tandem,
minCustomMass: 0.1
tandem: tandem
}
);

Expand Down
1 change: 0 additions & 1 deletion js/buoyancy/view/BuoyancyLabScreenView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export default class BuoyancyLabScreenView extends BuoyancyScreenView<BuoyancyLa
visiblePropertyOptions: {
phetioFeatured: true
},
minCustomMass: 0.1,
maxVolumeLiters: maxBlockVolume
}
) ] );
Expand Down

0 comments on commit a7c9606

Please sign in to comment.