From 6db7422c561e07d1fa6d6516b8def16bc2a49e79 Mon Sep 17 00:00:00 2001 From: Jesse Date: Tue, 21 Mar 2023 14:45:32 -0400 Subject: [PATCH] Map is created in the constructor with values provided by the subtype, so it makes sense to use set - responding to review comment in #398 --- js/quadrilateral/view/sound/LayersTracksSoundView.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/quadrilateral/view/sound/LayersTracksSoundView.ts b/js/quadrilateral/view/sound/LayersTracksSoundView.ts index 277c9cb5..aef4c53c 100644 --- a/js/quadrilateral/view/sound/LayersTracksSoundView.ts +++ b/js/quadrilateral/view/sound/LayersTracksSoundView.ts @@ -64,8 +64,6 @@ export default class LayersTracksSoundView extends TracksSoundView { // desired output levels for each sound (as requested by design, after manually editing the gain) // See https://github.com/phetsims/quadrilateral/issues/175#issuecomment-1339626942 - // REVIEW: Many of the Maps in this sim are initialized with [[]], want to do that for this one too? - // soundsd good! this.indexToOutputLevelMap.set( 0, 0.6 ); this.indexToOutputLevelMap.set( 1, 0.6 ); this.indexToOutputLevelMap.set( 2, 1 );