Skip to content

Commit

Permalink
opt out of required tandem, #98
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kauzmann <michael.kauzmann@colorado.edu>
  • Loading branch information
zepumph committed Mar 4, 2024
1 parent 11e17ae commit 6e04dc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/common/view/MassView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import Bounds3 from '../../../../dot/js/Bounds3.js';
import MappedProperty from '../../../../axon/js/MappedProperty.js';
import Bounds2 from '../../../../dot/js/Bounds2.js';
import Tandem from '../../../../tandem/js/Tandem.js';

export type ModelPoint3ToViewPoint2 = ( point: Vector3 ) => Vector2;

Expand Down Expand Up @@ -126,7 +127,8 @@ export default abstract class MassView extends THREE.Mesh {
dragBoundsProperty: new MappedProperty( dragBoundsProperty, { map: bounds3 => Bounds2.create( bounds3 ) } ),
drag: ( vectorDelta: Vector2 ) => {
mass.updateDrag( mass.matrix.translation.add( vectorDelta ) );
}
},
tandem: Tandem.OPT_OUT // TODO: https://github.com/phetsims/density-buoyancy-common/issues/98
} );

// TODO: Should we blur on interrupt? https://github.com/phetsims/density-buoyancy-common/issues/98
Expand Down

0 comments on commit 6e04dc5

Please sign in to comment.