Skip to content

Commit

Permalink
clarify LayoutBox, #168
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Oct 26, 2021
1 parent d466dd1 commit 3286aba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/alternative-input-quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Follow these steps to add support for alternative input to a simulation.

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`. Note that most of the work here is in ScreenView subclasses.
traversal order by explicitly setting `this.pdomOrder`. Note that most of the work here is in `ScreenView` subclasses.

4. For `LayoutBox` Nodes do nothing. The layout order and traversal order are typically the same.
4. For `LayoutBox` Nodes do nothing. There is a good match between layout order and traversal order; they 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 3286aba

Please sign in to comment.