From 68e92d64d81852d414d664c83c47cf4db9257ed3 Mon Sep 17 00:00:00 2001 From: jbphet Date: Thu, 7 Apr 2022 16:01:43 -0600 Subject: [PATCH] fixed some copy-and-paste errors with button names --- js/demo/testing/view/SoundClipChordTestNode.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/demo/testing/view/SoundClipChordTestNode.ts b/js/demo/testing/view/SoundClipChordTestNode.ts index e6c28f89..cdc34038 100644 --- a/js/demo/testing/view/SoundClipChordTestNode.ts +++ b/js/demo/testing/view/SoundClipChordTestNode.ts @@ -32,7 +32,7 @@ class SoundClipChordTestNode extends VBox { soundManager.addSoundGenerator( arpeggioSoundClipChord ); // add a button to play a basic-mode sound - const playBasicSoundButton = new TextPushButton( 'Play Chord', { + const playChordButton = new TextPushButton( 'Play Chord', { baseColor: '#aad6cc', font: new PhetFont( 16 ), soundPlayer: SoundPlayer.NO_SOUND, // turn off default sound generation @@ -40,7 +40,7 @@ class SoundClipChordTestNode extends VBox { } ); // add button to play enhanced-mode sound - const playEnhancedSoundButton = new TextPushButton( 'Play Arpeggiated Chord', { + const playArpeggioButton = new TextPushButton( 'Play Arpeggiated Chord', { baseColor: '#DBB1CD', font: new PhetFont( 16 ), soundPlayer: SoundPlayer.NO_SOUND, // turn off default sound generation @@ -48,7 +48,7 @@ class SoundClipChordTestNode extends VBox { } ); super( optionize( { - children: [ playBasicSoundButton, playEnhancedSoundButton ], + children: [ playChordButton, playArpeggioButton ], spacing: 20 }, providedOptions ) );