Skip to content

Commit

Permalink
workaround for #586 and #639
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 13, 2020
1 parent 9757182 commit 5c348bc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions js/AboutDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ import VBox from '../../scenery/js/nodes/VBox.js';
import VStrut from '../../scenery/js/nodes/VStrut.js';
import Dialog from '../../sun/js/Dialog.js';
import CreditsNode from './CreditsNode.js';
import joistStrings from './joistStrings.js';
import HomeScreenView from './HomeScreenView.js';
import joist from './joist.js';
import joistStrings from './joistStrings.js';
import packageJSON from './packageJSON.js';
import ScreenView from './ScreenView.js';
import updateCheck from './updateCheck.js';
import UpdateNodes from './UpdateNodes.js';
import UpdateState from './UpdateState.js';
Expand Down Expand Up @@ -223,7 +225,10 @@ function AboutDialog( name, version, credits, locale, phetButton, tandem ) {
tandem: tandem,
phetioReadOnly: true, // the AboutDialog should not be settable
phetioState: true,
phetioDynamicElement: true
phetioDynamicElement: true,

//TODO workaround for https://github.com/phetsims/joist/issues/586 and https://github.com/phetsims/joist/issues/639
scale: HomeScreenView.LAYOUT_BOUNDS.width / ScreenView.DEFAULT_LAYOUT_BOUNDS.width
} );

// pdom - set label association so the title is read when focus enters the dialog
Expand Down

1 comment on commit 5c348bc

@pixelzoom
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.