Skip to content

Commit

Permalink
formatting, #168
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Oct 26, 2021
1 parent 0104355 commit 966041f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/alternative-input-quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Follow these steps to add support for alternative input to a simulation.

2. Run `grunt update` to generate `{{REPO}}_a11y_view.html` and modify `{{REPO}}_en.html`.

3. For non-LayoutBox parent Nodes, explicitly set `this.pdomOrder` at the end of constructor. Do not rely on scenery’s
3. For non-`LayoutBox` parent Nodes, explicitly set `this.pdomOrder` at the end of constructor. Do not rely on scenery’s
default ordering, which corresponds to the order that children are added. It’s better to decouple rendering order and
traversal order by explicitly setting `this.pdomOrder`.
traversal order by explicitly setting `this.pdomOrder`. Note that most of the work here is in ScreenView subclasses.

4. For LayoutBox parents do nothing. The layout order and traversal order are typically the same.
4. For `LayoutBox` Nodes do nothing. The layout order and traversal order are typically the same.

5. If you need to augment `this.pdomOrder` in a subclass, read about the numerous pitfalls
in https://github.com/phetsims/scenery/issues/1308.
Expand Down

0 comments on commit 966041f

Please sign in to comment.