From 4c18130082c76cef6d69a9ad9b888bdb75404d38 Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Fri, 19 Jun 2020 11:01:35 -0600 Subject: [PATCH] add missing visibility annotation --- js/buttons/RoundMomentaryButton.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/buttons/RoundMomentaryButton.js b/js/buttons/RoundMomentaryButton.js index daed1fe3..c783db9f 100644 --- a/js/buttons/RoundMomentaryButton.js +++ b/js/buttons/RoundMomentaryButton.js @@ -29,8 +29,9 @@ function RoundMomentaryButton( valueOff, valueOn, property, options ) { phetioType: RoundMomentaryButtonIO }, options ); - // Note it shares a tandem with this, so the emitter will be instrumented as a child of the button + // @public Note it shares a tandem with this, so the emitter will be instrumented as a child of the button this.buttonModel = new MomentaryButtonModel( valueOff, valueOn, property, options ); + RoundButtonView.call( this, this.buttonModel, new MomentaryButtonInteractionStateProperty( this.buttonModel ), options ); }