Skip to content

Commit

Permalink
Setting 0.1 m/s^2 as the minimum value for gravity acceleration, see p…
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Mar 20, 2024
1 parent 2b7e4a2 commit a6ab379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/GravityControlNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class GravityControlNode extends ComboNumberControl<Gravity> {
titleProperty: DensityBuoyancyCommonStrings.gravity.nameStringProperty,
valuePatternProperty: DensityBuoyancyCommonStrings.metersPerSecondSquaredPatternStringProperty,
property: gravityProperty,
range: new Range( 0, 25 ),
range: new Range( 0.1, 25 ),
toNumericValue: gravity => gravity.value,
createCustomValue: Gravity.createCustomGravity,
isCustomValue: gravity => gravity.custom,
Expand Down

0 comments on commit a6ab379

Please sign in to comment.