diff --git a/js/common/view/AllFilledDialog.js b/js/common/view/AllFilledDialog.js index 9d69de66..a7bcc966 100644 --- a/js/common/view/AllFilledDialog.js +++ b/js/common/view/AllFilledDialog.js @@ -36,7 +36,7 @@ class AllFilledDialog extends Dialog { bottomMargin: 10, cornerRadius: BAMConstants.CORNER_RADIUS, layoutStrategy: ( dialog, simBounds, screenBounds, scale ) => { - this.center = screenBounds.center.times( 1.0 / scale ).minusXY( 75, 75 ); + this.center = dialog.layoutBounds.center.minusXY( 75, 75 ); } }, options );