Skip to content

Commit

Permalink
fixed controls layout in flow screen, #294
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 15, 2017
1 parent 687c374 commit 2ad11bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/flow/model/FlowModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ define( function( require ) {

this.barometers = [];
for ( var i = 0; i < NUMBER_BAROMETERS; i++ ) {
this.barometers.push( new Sensor( new Vector2( 0, 0 ), 0 ) );
this.barometers.push( new Sensor( new Vector2( 2.5, 1.8 ), 0 ) );
}

this.speedometers = [];
Expand All @@ -88,7 +88,7 @@ define( function( require ) {

this.gridInjectorElapsedTimeInPressedModeProperty.link( function() {

//The grid injector can only be fired every so often, in order to prevent too many black particles in the pipe
// The grid injector can only be fired every so often, in order to prevent too many black particles in the pipe
if ( self.gridInjectorElapsedTimeInPressedMode > 5 ) {
self.isGridInjectorPressed = false;
self.gridInjectorElapsedTimeInPressedMode = 0;
Expand Down
2 changes: 1 addition & 1 deletion js/flow/view/FlowScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ define( function( require ) {
this.addChild( toolsLayer );

// units control panel
var unitsControlPanel = new UnitsControlPanel( flowModel.measureUnitsProperty, 50,
var unitsControlPanel = new UnitsControlPanel( flowModel.measureUnitsProperty,
{ right: toolsControlPanel.left - 7, top: toolsControlPanel.top } );
this.addChild( unitsControlPanel );

Expand Down

0 comments on commit 2ad11bf

Please sign in to comment.