From 45c742ec0663d13c2def3fb75831d4684e5d899e Mon Sep 17 00:00:00 2001 From: Marla Schulz Date: Fri, 7 Jun 2024 09:35:53 -0700 Subject: [PATCH] Change class member access modifier for PhET-iO, see: https://github.com/phetsims/mean-share-and-balance/issues/258 --- js/common/model/SharingModel.ts | 2 +- js/level-out/model/LevelOutModel.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/common/model/SharingModel.ts b/js/common/model/SharingModel.ts index 08cb107..724762a 100644 --- a/js/common/model/SharingModel.ts +++ b/js/common/model/SharingModel.ts @@ -65,7 +65,7 @@ export default class SharingModel extends PhetioObject implemen protected readonly unusedSnacks: ObservableArray; // Allows PhET-iO clients to modify the max number of plates in the screen. - private readonly maxPlatesProperty: Property; + public readonly maxPlatesProperty: Property; public constructor( snackCreator: ( options: SnackOptions ) => T, snackStackingFunction: ( plateXPosition: number, index: number ) => Vector2, diff --git a/js/level-out/model/LevelOutModel.ts b/js/level-out/model/LevelOutModel.ts index de9acba..d173283 100644 --- a/js/level-out/model/LevelOutModel.ts +++ b/js/level-out/model/LevelOutModel.ts @@ -62,7 +62,7 @@ export default class LevelOutModel extends PhetioObject implements TModel { // phet-io specific Properties public readonly successIndicatorsOperatingProperty: Property; - private readonly maxCupsProperty: Property; + public readonly maxCupsProperty: Property; public constructor( providedOptions: LevelOutModelOptions ) {