diff --git a/js/game/view/CountsToElementChallengeView.js b/js/game/view/CountsToElementChallengeView.js index e91725a2..21bbe911 100644 --- a/js/game/view/CountsToElementChallengeView.js +++ b/js/game/view/CountsToElementChallengeView.js @@ -30,7 +30,7 @@ define( function( require ) { this.challengePresentationNode.addChild( particleCountsNode ); // Layout - particleCountsNode.centerX = layoutBounds.width * 0.25; + particleCountsNode.centerX = this.periodicTable.left / 2; particleCountsNode.centerY = this.periodicTable.centerY; } diff --git a/js/game/view/SchematicToElementChallengeView.js b/js/game/view/SchematicToElementChallengeView.js index 156a9e5c..04ff95db 100644 --- a/js/game/view/SchematicToElementChallengeView.js +++ b/js/game/view/SchematicToElementChallengeView.js @@ -42,6 +42,9 @@ define( function( require ) { ); this.challengePresentationNode.addChild( nonInteractiveSchematicNode ); + nonInteractiveSchematicNode.centerX = this.periodicTable.left / 2; + nonInteractiveSchematicNode.centerY = this.periodicTable.centerY; + this.disposeSchematicToElementChallengeView = function(){ nonInteractiveSchematicNode.dispose(); }; diff --git a/js/game/view/ToElementChallengeView.js b/js/game/view/ToElementChallengeView.js index aca9f33c..898314d2 100644 --- a/js/game/view/ToElementChallengeView.js +++ b/js/game/view/ToElementChallengeView.js @@ -58,9 +58,9 @@ define( function( require ) { interactiveMax: 118, cellDimension: CELL_DIMENSION, enabledCellColor: new LinearGradient( 0, 0, 0, CELL_DIMENSION ).addColorStop( 0, 'white' ).addColorStop( 1, 'rgb( 240, 240, 240 )' ), - selectedCellColor: 'yellow' + selectedCellColor: 'yellow', + scale: 1.02 } ); - this.periodicTable.scale( 0.85 ); // scale value empirically determined this.interactiveAnswerNode.addChild( this.periodicTable ); // Challenge title