Skip to content

Commit

Permalink
redo layout in formula node and wirebox, #62
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 14, 2017
1 parent 402232c commit df86c2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/ohms-law/view/FormulaNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ define( function( require ) {
},
{
symbolString: resistanceSymbolString,
scaleM: .015,
scaleM: .0165,
scaleB: 2,
x: 560,
property: model.resistanceProperty,
Expand Down
5 changes: 3 additions & 2 deletions js/ohms-law/view/OhmsLawScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ define( function( require ) {
// Circuit node with readout node
var wireBox = new WireBox( model, tandem.createTandem( 'wireBox' ), {
pickable: false,
x: 70, // Layout of the WireBox
y: 380
centerX: formulaNode.centerX, // Layout of the WireBox
y: 370,
scale: .9
} );
this.addChild( wireBox );

Expand Down

0 comments on commit df86c2b

Please sign in to comment.