Skip to content

Commit

Permalink
Formatting, see #31
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 21, 2024
1 parent 936c78e commit 4e7d6ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion js/common-vsm/view/LauncherFlashNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class LauncherFlashNode extends Node {
}
flameShape.lineTo( -radius, 0 );

// create paths based on shape
// create paths based on shape
const outerFlame = new Path( flameShape, { fill: 'rgb( 255, 255, 0 )', stroke: null } );
const innerFlame = new Path( flameShape, { fill: 'rgb( 255, 200, 0 )', stroke: null } );
innerFlame.setScaleMagnitude( 0.7 );
Expand Down
16 changes: 8 additions & 8 deletions js/common/model/Histogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@ type HistogramOptions = SelfOptions & PickRequired<PhetioObjectOptions, 'tandem'

export default class Histogram {

// Bin width represents the distance between adjacent field lines. It also affects how data is grouped for the histogram.
// The prefix 'selected' means it is the value selected by the user, and may differ from the displayed bin width
// depending on the BIN_STRATEGY_PROPERTY.
// Bin width represents the distance between adjacent field lines. It also affects how data is grouped for the histogram.
// The prefix 'selected' means it is the value selected by the user, and may differ from the displayed bin width
// depending on the BIN_STRATEGY_PROPERTY.
public readonly selectedBinWidthProperty: Property<number>;

// Total bins represents the number of bins in the histogram.
// The prefix 'selected' means it is the value selected by the user, and may differ from the displayed bin width
// depending on the BIN_STRATEGY_PROPERTY.
// Total bins represents the number of bins in the histogram.
// The prefix 'selected' means it is the value selected by the user, and may differ from the displayed bin width
// depending on the BIN_STRATEGY_PROPERTY.
public readonly selectedTotalBinsProperty: Property<number>;

// The zoom level of the histogram
// The zoom level of the histogram
public readonly zoomProperty: NumberProperty;

// Current bin width, selecting from the two strategies: binWidth or totalBins (see above)
// Current bin width, selecting from the two strategies: binWidth or totalBins (see above)
public readonly binWidthProperty: TReadOnlyProperty<number>;

// This property indicates whether the histogram is showing bars (one per bin) or blocks (one per projectile).
Expand Down

0 comments on commit 4e7d6ea

Please sign in to comment.