Skip to content

Commit

Permalink
replace uses of *.TANDEM_NAME_SUFFIX and ComboBox.ITEM_TANDEM_NAME_SU…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 28, 2024
1 parent 98a75e2 commit 4aeb5d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/intro/view/IntroProjectileControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class IntroProjectileControlPanel extends Panel {
comboBoxItems[ i ] = {
value: projectileType,
createNode: () => ( i === 0 ) ? firstItemNode : new Text( projectileType.name, itemNodeOptions ),
tandemName: `${projectileType.benchmark}${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
tandemName: `${projectileType.benchmark}Item`
};
}

Expand Down
2 changes: 1 addition & 1 deletion js/lab/view/LabProjectileControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class LabProjectileControlPanel extends Node {
comboBoxItems[ i ] = {
value: projectileType,
createNode: () => ( i === 0 ) ? firstItemNode : new Text( projectileType.name, itemNodeOptions ),
tandemName: `${projectileType.benchmark}${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
tandemName: `${projectileType.benchmark}Item`
};

// Create the controls for the projectileType too.
Expand Down
2 changes: 1 addition & 1 deletion js/stats/view/StatsProjectileControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class StatsProjectileControlPanel extends Panel {
comboBoxItems[ i ] = {
value: projectileType,
createNode: () => i === 0 ? firstItemNode : new Text( projectileType.name, itemNodeOptions ),
tandemName: `${projectileType.benchmark}${ComboBox.ITEM_TANDEM_NAME_SUFFIX}`
tandemName: `${projectileType.benchmark}Item`
};
}

Expand Down

0 comments on commit 4aeb5d6

Please sign in to comment.