Skip to content

Commit 679527b

Browse files
committed
simBounds -> screenBounds, #104
Signed-off-by: Chris Malley <[email protected]>
1 parent b47531c commit 679527b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/solveit/view/SolveItSceneNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ define( function( require ) {
273273
layoutStrategy: function( dialog, simBounds, screenBounds, scale ) {
274274

275275
// center horizontally on the screen
276-
var screenCenterX = simBounds.center.times( 1 / scale ).x;
276+
var screenCenterX = screenBounds.center.times( 1 / scale ).x;
277277

278278
// top of dialog below equationPanel, so the solution is not obscured
279279
var localCenterTop = new Vector2( equationPanel.centerX, equationPanel.bottom + 10 );

0 commit comments

Comments
 (0)