Skip to content

Commit

Permalink
fix layout for #149
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Jul 18, 2017
1 parent 6bb5406 commit 312a620
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/game/view/SchematicToSymbolProblemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ define( function( require ) {
this.problemPresentationNode.addChild( schematicAtomNode );

// Layout
schematicAtomNode.centerX = layoutBounds.width * 0.23;
schematicAtomNode.centerY = layoutBounds.height * 0.30;
schematicAtomNode.centerX = layoutBounds.width * 0.30;
schematicAtomNode.centerY = layoutBounds.height * 0.50;
this.interactiveSymbolNode.centerX = layoutBounds.width * 0.745;
this.interactiveSymbolNode.centerY = layoutBounds.height * 0.54;

Expand Down
4 changes: 2 additions & 2 deletions js/game/view/SymbolToSchematicProblemView.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ define( function( require ) {
// Layout
interactiveSymbolNode.centerX = layoutBounds.width * 0.27;
interactiveSymbolNode.centerY = layoutBounds.height * 0.52;
this.interactiveSchematicAtom.centerX = layoutBounds.width * 0.71;
this.interactiveSchematicAtom.centerY = layoutBounds.height * 0.40;
this.interactiveSchematicAtom.centerX = layoutBounds.width * 0.745;
this.interactiveSchematicAtom.centerY = layoutBounds.height * 0.51;

this.disposeSymbolToSchematicProblemView = function() {
this.interactiveSchematicAtom.dispose();
Expand Down

0 comments on commit 312a620

Please sign in to comment.