Skip to content

Commit

Permalink
augment QSMType, default focalLengthControl=direct, phetsims/geometri…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 22, 2022
1 parent eaceec3 commit b06a9db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/common/GOGlobalOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ import StringIO from '../../../tandem/js/types/StringIO.js';
// constants
const optionsTandem = Tandem.GLOBAL_VIEW.createTandem( 'options' );

// If focalLengthControl query parameter was not in the URL, change the default.
if ( !QueryStringMachine.containsKey( 'focalLengthControl' ) ) {
GOQueryParameters.focalLengthControl = 'direct';
}

const GOGlobalOptions = {

focalLengthControlTypeProperty:
Expand Down

0 comments on commit b06a9db

Please sign in to comment.