From ce05ff29fb28b54e63c157926a412ae68351dc18 Mon Sep 17 00:00:00 2001 From: samreid Date: Fri, 17 Jan 2020 21:31:48 -0700 Subject: [PATCH] Improve plank angle instrumentation, see https://github.com/phetsims/balancing-act/issues/96 --- js/common/model/Plank.js | 3 ++- js/phet-io/balancing-act-phet-io-elements-baseline.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/js/common/model/Plank.js b/js/common/model/Plank.js index cecd3f0c..59d9e7b2 100644 --- a/js/common/model/Plank.js +++ b/js/common/model/Plank.js @@ -49,7 +49,8 @@ define( require => { 'positive is tilted left, negative to the right.', units: 'radians', tandem: tandem.createTandem( 'tiltAngleProperty' ), - phetioReadOnly: true + phetioReadOnly: true, + phetioHighFrequency: true } ); // Point where the bottom center of the plank is currently located. If the plank is sitting on top of the fulcrum, diff --git a/js/phet-io/balancing-act-phet-io-elements-baseline.js b/js/phet-io/balancing-act-phet-io-elements-baseline.js index 02439f54..fc974e09 100644 --- a/js/phet-io/balancing-act-phet-io-elements-baseline.js +++ b/js/phet-io/balancing-act-phet-io-elements-baseline.js @@ -58,7 +58,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioDynamicElement": false, "phetioEventType": "MODEL", "phetioFeatured": false, - "phetioHighFrequency": false, + "phetioHighFrequency": true, "phetioIsArchetype": false, "phetioPlayback": false, "phetioReadOnly": true, @@ -1280,7 +1280,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioDynamicElement": false, "phetioEventType": "MODEL", "phetioFeatured": false, - "phetioHighFrequency": false, + "phetioHighFrequency": true, "phetioIsArchetype": false, "phetioPlayback": false, "phetioReadOnly": true, @@ -4712,7 +4712,7 @@ window.phet.phetio.phetioElementsBaseline = assert && "phetioDynamicElement": false, "phetioEventType": "MODEL", "phetioFeatured": false, - "phetioHighFrequency": false, + "phetioHighFrequency": true, "phetioIsArchetype": false, "phetioPlayback": false, "phetioReadOnly": true,