Skip to content

Commit

Permalink
self options defaults to providedOptions instead of {}, and add {} as…
Browse files Browse the repository at this point in the history
… self options in usages, phetsims/phet-core#105
  • Loading branch information
zepumph committed Feb 24, 2022
1 parent 33268b1 commit e79dc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/QuestionBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class QuestionBar extends StatusBar {

constructor( layoutBounds: Bounds2, boundsProperty: Property<Bounds2>, providedOptions: QuestionBarOptions ) {

const options = optionize<QuestionBarOptions>( {
const options = optionize<QuestionBarOptions, {}>( {
floatToTop: true,
barHeight: 70
}, providedOptions );
Expand Down

0 comments on commit e79dc1d

Please sign in to comment.