Commit 11207ef
Fix transition buttons: use MoveCursorToTransition inject_message
The WCP text command 'transition_next' requires an explicit alphabetic
variable label argument (e.g. 'transition_next a') — sending it bare
fails to parse and does nothing.
Switch to sending MoveCursorToTransition directly as a JSON inject_message
with the explicit VisibleItemIndex from _focusedVisibleIdx. This:
- Specifies the variable explicitly, so no focused-item state is needed
- Avoids the async WCP command-file fetch entirely
- Eliminates the iframe-blur race condition
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8f70c3b commit 11207ef
1 file changed
Lines changed: 13 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
145 | 132 | | |
146 | 133 | | |
147 | 134 | | |
| |||
0 commit comments