Skip to content

Commit

Permalink
Add TODO, see phetsims/buoyancy#67
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 19, 2024
1 parent b9187b6 commit 9580de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/CompareBlockSetModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export default class CompareBlockSetModel extends BlockSetModel<BlockSet> {

// We must undefer the Cube's materialProperty first, in order for the DynamicProperty in DensityAccordionBox to be correctly unregistered
// We do not know why scheduling a NOTIFY order dependency was not sufficient
// TODO: Does this logic simplify now that Material is mutable? See https://github.com/phetsims/density-buoyancy-common/issues/163 and https://github.com/phetsims/density-buoyancy-common/issues/273
// TODO: Does this logic simplify now that Material is mutable? See https://github.com/phetsims/density-buoyancy-common/issues/163 and https://github.com/phetsims/density-buoyancy-common/issues/273 and https://github.com/phetsims/buoyancy/issues/67
propertyStateHandlerSingleton.registerPhetioOrderDependency( cube.materialProperty, PropertyStatePhase.UNDEFER, model.blockSetProperty, PropertyStatePhase.UNDEFER );

return cube;
Expand Down

0 comments on commit 9580de6

Please sign in to comment.