From 4ee8909735e1e317e03c20066cc0a13d084d248e Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Fri, 28 Jul 2023 13:54:06 -0600 Subject: [PATCH] add link to messageString element in OopsDialog, https://github.com/phetsims/natural-selection/issues/339, https://github.com/phetsims/phet-io/issues/1952 --- js/mediaPipe/MediaPipe.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/mediaPipe/MediaPipe.ts b/js/mediaPipe/MediaPipe.ts index a6dce55..4b579a7 100644 --- a/js/mediaPipe/MediaPipe.ts +++ b/js/mediaPipe/MediaPipe.ts @@ -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' ); @@ -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 ): void { + private static showOopsDialog( messageStringProperty: ReadOnlyProperty ): void { // Waiting for next step ensures we will have a sim to append to the Dialog to. stepTimer.runOnNextTick( () => {