1
1
// Copyright 2020-2025, University of Colorado Boulder
2
2
3
- import PreferencesDialog from '../../../joist/js/preferences/PreferencesDialog .js' ;
3
+ import PreferencesDialogConstants from '../../../joist/js/preferences/PreferencesDialogConstants .js' ;
4
4
/**
5
5
* Shows contents for controls that change simulation representation or behavior.
6
6
*
@@ -22,7 +22,7 @@ export default class CCKCSimulationPreferencesContentNode extends VBox {
22
22
23
23
public constructor ( tandem : Tandem ) {
24
24
25
- const textOptions = PreferencesDialog . PANEL_SECTION_CONTENT_OPTIONS ;
25
+ const textOptions = PreferencesDialogConstants . PANEL_SECTION_CONTENT_OPTIONS ;
26
26
const schematicTypeRadioButtonGroup = new VerticalAquaRadioButtonGroup < SchematicType > ( schematicTypeProperty , [ {
27
27
createNode : ( ) => new Text ( CircuitConstructionKitCommonStrings . ieeeStringProperty , textOptions ) ,
28
28
value : SchematicType . IEEE ,
@@ -59,13 +59,13 @@ export default class CCKCSimulationPreferencesContentNode extends VBox {
59
59
60
60
super ( {
61
61
align : 'left' ,
62
- spacing : PreferencesDialog . CONTENT_SPACING ,
62
+ spacing : PreferencesDialogConstants . CONTENT_SPACING ,
63
63
tandem : tandem ,
64
64
children : [
65
- new Text ( CircuitConstructionKitCommonStrings . schematicStandardStringProperty , PreferencesDialog . PANEL_SECTION_LABEL_OPTIONS ) ,
65
+ new Text ( CircuitConstructionKitCommonStrings . schematicStandardStringProperty , PreferencesDialogConstants . PANEL_SECTION_LABEL_OPTIONS ) ,
66
66
schematicTypeRadioButtonGroup ,
67
67
new HSeparator ( ) ,
68
- new Text ( CircuitConstructionKitCommonStrings . ammeterReadoutStringProperty , PreferencesDialog . PANEL_SECTION_LABEL_OPTIONS ) ,
68
+ new Text ( CircuitConstructionKitCommonStrings . ammeterReadoutStringProperty , PreferencesDialogConstants . PANEL_SECTION_LABEL_OPTIONS ) ,
69
69
ammeterReadoutRadioButtonGroup
70
70
]
71
71
} ) ;
0 commit comments