Skip to content

Commit

Permalink
rename param visibleBoundsProperty to match param name of the supercl…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 28, 2022
1 parent 077999a commit df8171e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/QuestionBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ const QUESTION_TEXT_MARGIN = 30;

class QuestionBar extends StatusBar {

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

const options = optionize<QuestionBarOptions, SelfOptions, StatusBarOptions>()( {
floatToTop: true,
barHeight: 70,
tandem: Tandem.OPTIONAL
}, providedOptions );
super( layoutBounds, boundsProperty, options );
super( layoutBounds, visibleBoundsProperty, options );

const labelText = new Text( options.labelText, {
font: new PhetFont( {
Expand Down

0 comments on commit df8171e

Please sign in to comment.