@yam8d/m8-sdk 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.js +676 -646
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types/engine/cursorTargets.d.ts +7 -0
package/README.md
CHANGED
|
@@ -167,6 +167,8 @@ Moves the cursor to the cell at the given character-grid position, or to the nea
|
|
|
167
167
|
no cursor cell is there (a label, a gap between cells). Resolves `true` when the cursor reached
|
|
168
168
|
that cell, `false` when it stopped on the closest cell it could reach. Arrow keys only; what each
|
|
169
169
|
press does is learned per layout (view, model, font mode), so later moves take the shortest way.
|
|
170
|
+
The Song, Chain and Phrase grids are known in advance: there the cursor takes the shortest way from
|
|
171
|
+
the first move, and nothing is learned.
|
|
170
172
|
|
|
171
173
|
```ts
|
|
172
174
|
await m8.navigateTo(3, 5)
|