Skip to content

Commit

Permalink
Rename SolarSystemCommonSlider => SolarSystemCommonNumberControl, see #…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Mar 16, 2023
1 parent 256834c commit 515eb72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/ValuesColumnNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { AlignBox, AlignGroup, Color, Node, RichText, TextOptions, VBox, VBoxOpt
import mySolarSystem from '../../mySolarSystem.js';
import ValuesColumnTypes from './ValuesColumnTypes.js';
import SolarSystemCommonConstants from '../../../../solar-system-common/js/SolarSystemCommonConstants.js';
import SolarSystemCommonSlider from '../../../../solar-system-common/js/view/SolarSystemCommonSlider.js';
import SolarSystemCommonNumberControl from '../../../../solar-system-common/js/view/SolarSystemCommonNumberControl.js';
import Body from '../../../../solar-system-common/js/model/Body.js';
import RangeWithValue from '../../../../dot/js/RangeWithValue.js';
import MySolarSystemStrings from '../../MySolarSystemStrings.js';
Expand Down Expand Up @@ -106,7 +106,7 @@ export default class ValuesColumnNode extends VBox {
contentNode = new ShadedSphereNode( 16, { mainColor: colorProperty, stroke: 'black' } );
}
else if ( columnType === ValuesColumnTypes.MASS_SLIDER ) {
contentNode = new SolarSystemCommonSlider( body.massProperty, massRange, {
contentNode = new SolarSystemCommonNumberControl( body.massProperty, massRange, {
sliderOptions: {
thumbFill: colorProperty,
thumbFillHighlighted: new DerivedProperty( [ colorProperty ], color => color.colorUtilsBrighter( 0.7 ) ),
Expand Down

0 comments on commit 515eb72

Please sign in to comment.