Skip to content

Commit

Permalink
add TODO #256
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kauzmann <[email protected]>
  • Loading branch information
zepumph committed Jul 11, 2024
1 parent e21857a commit d166f87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/view/MaterialView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ export class DensityMaterials {
else if ( material === Material.WOOD ) {
return new WoodMaterialView();
}

// TODO: Can we just change the material.custom check below to add "or hidden" https://github.com/phetsims/density-buoyancy-common/issues/256
else if ( material === Material.MATERIAL_O ) {
return new ColoredMaterialView( material.customColor! );
}
Expand Down

0 comments on commit d166f87

Please sign in to comment.