Skip to content

Commit

Permalink
fix typo, add comment, #168
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Oct 28, 2021
1 parent ce6f6fe commit 230963c
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 @@ -24,9 +24,9 @@ use this pattern in your ScreenView constructor:

```js
this.pdomPlayAreaNode.children = [ ... ];
this.pdomPlayAreaNode.pdomOrder = [ ... ];
this.pdomPlayAreaNode.pdomOrder = [ ... ]; // decouple traversal order from rendering order
this.pdomControlAreaNode.children = [ ... ];
this.pdomPControlAreaNode.pdomOrder = [ ... ];
this.pdomControlAreaNode.pdomOrder = [ ... ]; // decouple traversal order from rendering order
```

(b) In many cases, "Play Area" and "Control Area" can be ignored for the purposes of alternative input. If
Expand All @@ -37,7 +37,7 @@ in your ScreenView constructor:
const screenViewRootNode = new Node( {
children: [...]
});
screenViewRootNode.pdomOrder = [...];
screenViewRootNode.pdomOrder = [...]; // decouple traversal order from rendering order
this.addChild( screenViewRootNode );
```

Expand Down

0 comments on commit 230963c

Please sign in to comment.