Skip to content

Commit

Permalink
doc, #319
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Aug 27, 2022
1 parent b587c40 commit a7568a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/common/view/AddMutationsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AddMutationsPanel extends NaturalSelectionPanel {
const buttonColumnsAlignGroup = new AlignGroup();

// title - We cannot pass naturalSelectionStrings.addMutationsProperty to new Text here, because the title
// is derived from the number of visible rows, which have not been created yet.
// is derived from the number of visible rows, which have not been created yet. See Multilink below.
const titleNode = new Text( naturalSelectionStrings.addMutationsProperty.value, {
font: NaturalSelectionConstants.TITLE_FONT,
maxWidth: 180, // determined empirically
Expand Down
2 changes: 1 addition & 1 deletion js/common/view/EnvironmentalFactorsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EnvironmentalFactorsPanel extends NaturalSelectionPanel {
}, NaturalSelectionConstants.PANEL_OPTIONS, options );

// title - We cannot pass naturalSelectionStrings.environmentalFactorsProperty to Text here, because the title
// is derived from the number of visible rows, which have not been created yet.
// is derived from the number of visible rows, which have not been created yet. See Multilink below.
const titleNode = new Text( naturalSelectionStrings.environmentalFactorsProperty.value, {
font: NaturalSelectionConstants.TITLE_FONT,
maxWidth: 175, // determined empirically,
Expand Down

0 comments on commit a7568a4

Please sign in to comment.