Skip to content

Commit

Permalink
Change class member access modifier for PhET-iO, see: #258
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed Jun 7, 2024
1 parent 5f57e6f commit 45c742e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/common/model/SharingModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class SharingModel<T extends Snack> extends PhetioObject implemen
protected readonly unusedSnacks: ObservableArray<T>;

// Allows PhET-iO clients to modify the max number of plates in the screen.
private readonly maxPlatesProperty: Property<number>;
public readonly maxPlatesProperty: Property<number>;

public constructor( snackCreator: ( options: SnackOptions ) => T,
snackStackingFunction: ( plateXPosition: number, index: number ) => Vector2,
Expand Down
2 changes: 1 addition & 1 deletion js/level-out/model/LevelOutModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class LevelOutModel extends PhetioObject implements TModel {

// phet-io specific Properties
public readonly successIndicatorsOperatingProperty: Property<boolean>;
private readonly maxCupsProperty: Property<number>;
public readonly maxCupsProperty: Property<number>;

public constructor( providedOptions: LevelOutModelOptions ) {

Expand Down

0 comments on commit 45c742e

Please sign in to comment.