Skip to content

Commit

Permalink
uninstrument RichText in OopsDialog, phetsims/natural-selection#339, p…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 28, 2023
1 parent bcd1b8d commit 73e5ad7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/OopsDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ export default class OopsDialog extends Dialog {
const text = new RichText( messageString, optionize<RichTextOptions, EmptySelfOptions, RichTextOptions>()( {
font: new PhetFont( 20 ),
maxWidth: 600,
maxHeight: 400,
tandem: options.tandem?.createTandem( 'text' )
maxHeight: 400
}, options.richTextOptions ) );

const iconNode = options.iconNode || new Image( phetGirlWaggingFinger_png, {
Expand Down

0 comments on commit 73e5ad7

Please sign in to comment.