Skip to content

Commit

Permalink
add link to messageString element in OopsDialog, phetsims/natural-sel…
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 28, 2023
1 parent 1d69140 commit 4ee8909
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/mediaPipe/MediaPipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import StringProperty from '../../../axon/js/StringProperty.js';
import BooleanProperty from '../../../axon/js/BooleanProperty.js';
import Checkbox from '../../../sun/js/Checkbox.js';
import Dimension2 from '../../../dot/js/Dimension2.js';
import ReadOnlyProperty from '../../../axon/js/ReadOnlyProperty.js';

if ( MediaPipeQueryParameters.showVideo ) {
assert && assert( MediaPipeQueryParameters.cameraInput === 'hands', '?showVideo is expected to accompany ?cameraInput=hands and its features' );
Expand Down Expand Up @@ -342,7 +343,7 @@ class MediaPipe {
}

// Display a dialog indicating that the MediaPipe feature is not going to work because it requires internet access.
private static showOopsDialog( messageStringProperty: TReadOnlyProperty<string> ): void {
private static showOopsDialog( messageStringProperty: ReadOnlyProperty<string> ): void {

// Waiting for next step ensures we will have a sim to append to the Dialog to.
stepTimer.runOnNextTick( () => {
Expand Down

0 comments on commit 4ee8909

Please sign in to comment.