Skip to content

Commit

Permalink
Basics: no Options dialog, default to 'direct', #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 22, 2022
1 parent 34c6b6a commit eaf9fa0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions js/geometric-optics-basics-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,21 @@
*/

import GOConstants from '../../geometric-optics/js/common/GOConstants.js';
import GOGlobalOptionsNode from '../../geometric-optics/js/common/view/GOGlobalOptionsNode.js';
import GOGlobalOptions from '../../geometric-optics/js/common/GOGlobalOptions.js';
import LensScreen from '../../geometric-optics/js/lens/LensScreen.js';
import MirrorScreen from '../../geometric-optics/js/mirror/MirrorScreen.js';
import Sim from '../../joist/js/Sim.js';
import simLauncher from '../../joist/js/simLauncher.js';
import Tandem from '../../tandem/js/Tandem.js';
import geometricOpticsBasicsStrings from './geometricOpticsBasicsStrings.js';

// ?focalLengthControl is ignored, and the 'direct' focal-length model is used.
GOGlobalOptions.focalLengthControlTypeProperty.value = 'direct';

const simOptions = {

credits: GOConstants.CREDITS,

// Creates content for the Options dialog, accessible via the PhET menu
createOptionsDialogContent: ( tandem: Tandem ) => new GOGlobalOptionsNode( {
tandem: tandem
} ),

// pdom options
hasKeyboardHelpContent: true
};
Expand Down

0 comments on commit eaf9fa0

Please sign in to comment.