Skip to content

Commit

Permalink
NumberProperty.range and rangeProperty cannot be of type null, phetsi…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 3, 2022
1 parent 534a450 commit 7a7cd76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/intro/view/WaterCup3DNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class WaterCup3DNode extends Node {
const beakerHeight = MeanShareAndBalanceConstants.CUP_HEIGHT - 10;

const beakerLineWidth = 2;
const waterCupNode = new BeakerNode( waterCup.waterLevelProperty.asRanged(), {
const waterCupNode = new BeakerNode( waterCup.waterLevelProperty, {
lineWidth: beakerLineWidth,
beakerWidth: MeanShareAndBalanceConstants.CUP_WIDTH,
beakerHeight: beakerHeight,
Expand Down

0 comments on commit 7a7cd76

Please sign in to comment.