Closed samreid closed 10 years ago
GaussianWavelengthSlider is created like so:
// Create gaussian wavelength slider var gaussianSlider = new GaussianWavelengthSlider( model.filterWavelengthProperty, SLIDER_TRACK_WIDTH, SLIDER_TRACK_HEIGHT ); gaussianSlider.bottom = this.layoutBounds.bottom - 20; gaussianSlider.right = wavelengthSliderDistance;
What do you think about adding an options parameter to the GaussianWavelengthConstructor so the layout can be passed in through the options?
I think that's a great idea. Assigning to @samreid for review.
Looks good, thanks! Closing.
GaussianWavelengthSlider is created like so:
What do you think about adding an options parameter to the GaussianWavelengthConstructor so the layout can be passed in through the options?