Skip to content

Commit

Permalink
rename phet.joist.sim.display -> phet.joist.display, phetsims/joist#684
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 22, 2021
1 parent 7352c78 commit c80e29c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gravity-force-lab-basics_a11y_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ <h3>PDOM & Descriptions for Gravity Force Lab: Basics</h3>

const simFrame = document.getElementById( 'iframe' );
const innerWindow = simFrame.contentWindow;
const PDOMRoot = innerWindow.phet.joist.sim.display.accessibleDOMElement; // copy of the parallel DOM
const PDOMRoot = innerWindow.phet.joist.display.accessibleDOMElement; // copy of the parallel DOM

// get the alert dom elements from the iframe's inner document
const ariaLiveElementsContainer = innerWindow.phet.joist.sim.utteranceQueue.getAriaLiveContainer();
Expand Down
4 changes: 2 additions & 2 deletions js/view/GFLBScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class GFLBScreenView extends ScreenView {
// for self-voicing, we want to speek when the pointer is over elements, not down on them
hitOnOver: true
} );
phet.joist.sim.display.addInputListener( this.shapeHitDetector );
phet.joist.display.addInputListener( this.shapeHitDetector );

// Create the model-view transform. The primary units used in the model are meters, so significant zoom is used.
// The multipliers for the 2nd parameter can be used to adjust where the point (0, 0) in the model, which is
Expand Down Expand Up @@ -421,7 +421,7 @@ class GFLBScreenView extends ScreenView {
speakerHighlighter.initialize();

// add the swipe listener
const swipeListener = new SwipeListener( phet.joist.sim.display._input );
const swipeListener = new SwipeListener( phet.joist.display._input );
levelSpeakerModel.gestureControlProperty.link( gestureControl => {
swipeListener.enabled = gestureControl;
} );
Expand Down

0 comments on commit c80e29c

Please sign in to comment.