diff --git a/js/buoyancy/view/BuoyancyLabScreenView.ts b/js/buoyancy/view/BuoyancyLabScreenView.ts index 118fb5ac..418af661 100644 --- a/js/buoyancy/view/BuoyancyLabScreenView.ts +++ b/js/buoyancy/view/BuoyancyLabScreenView.ts @@ -24,7 +24,7 @@ import DensityAccordionBox from './DensityAccordionBox.js'; import BuoyancyDisplayOptionsNode from '../../common/view/BuoyancyDisplayOptionsNode.js'; import BlockControlNode from '../../common/view/BlockControlNode.js'; import MultiSectionPanelsNode from '../../common/view/MultiSectionPanelsNode.js'; -import FluidDisplacedPanel from './FluidDisplacedPanel.js'; +import FluidDisplacedAccordionBox from './FluidDisplacedAccordionBox.js'; import SubmergedAccordionBox from './SubmergedAccordionBox.js'; import DensityBuoyancyCommonStrings from '../../DensityBuoyancyCommonStrings.js'; import ThreeUtils from '../../../../mobius/js/ThreeUtils.js'; @@ -55,7 +55,7 @@ export default class BuoyancyLabScreenView extends DensityBuoyancyScreenView, maxBeakerVolume: number, @@ -87,7 +87,7 @@ export default class FluidDisplacedPanel extends AccordionBox { const beakerNode = new BeakerNode( beakerVolumeProperty, combineOptions( { solutionFill: solutionFillProperty - }, FluidDisplacedPanel.getBeakerOptions() ) ); + }, FluidDisplacedAccordionBox.getBeakerOptions() ) ); displayedDisplacedVolumeProperty.link( displayedLiters => { beakerVolumeProperty.value = displayedLiters / maxBeakerVolume; @@ -192,7 +192,7 @@ export default class FluidDisplacedPanel extends AccordionBox { range: BEAKER_RANGE.copy() } ), combineOptions( { solutionFill: Material.WATER.liquidColor - }, FluidDisplacedPanel.getBeakerOptions() ) ); + }, FluidDisplacedAccordionBox.getBeakerOptions() ) ); scaleIcon.top = beakerNode.bottom - 30; scaleIcon.centerX = beakerNode.centerX; @@ -205,4 +205,4 @@ export default class FluidDisplacedPanel extends AccordionBox { } } -densityBuoyancyCommon.register( 'FluidDisplacedPanel', FluidDisplacedPanel ); \ No newline at end of file +densityBuoyancyCommon.register( 'FluidDisplacedAccordionBox', FluidDisplacedAccordionBox ); \ No newline at end of file