Skip to content

Commit

Permalink
some doc polishing #262
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 12, 2023
1 parent aee2231 commit 33c3a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/advanced/AdvancedScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default class AdvancedScreen extends Screen<AdvancedModel, AdvancedScreen

const modelTandem = tandem.createTandem( 'model' );

// In the order that they will appear in radio buttons
const graphSets: GraphSet[] = [
new GraphSet( [ GraphType.INTEGRAL, GraphType.ORIGINAL ], {
tandem: modelTandem.createTandem( 'graphSet0' ),
Expand All @@ -46,7 +47,7 @@ export default class AdvancedScreen extends Screen<AdvancedModel, AdvancedScreen

const createModel = () => new AdvancedModel( {
graphSets: graphSets,
graphSet: graphSets[ 1 ],
graphSet: graphSets[ 1 ], // see https://github.com/phetsims/calculus-grapher/issues/250
tandem: modelTandem
} );

Expand Down
1 change: 1 addition & 0 deletions js/lab/LabScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default class LabScreen extends Screen<LabModel, LabScreenView> {

const modelTandem = tandem.createTandem( 'model' );

// In the order that they will appear in radio buttons
const graphSets: GraphSet[] = [
new GraphSet( [ GraphType.INTEGRAL, GraphType.ORIGINAL, GraphType.DERIVATIVE ], {
tandem: modelTandem.createTandem( 'graphSet0' ),
Expand Down

0 comments on commit 33c3a27

Please sign in to comment.