Changeset 35486 for main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItemEditor.vue
- Timestamp:
- 2021-09-27T10:16:14+13:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItemEditor.vue
r35456 r35486 189 189 // Insert a new word if whitespace is entered on an existing word 190 190 if (event.data === " " && word.word !== " ") { 191 // TODO: Proper timing metadata192 const newWord = new Word("", word.startTime, word.endTime);191 const newStartTime = word.startTime + ((word.endTime - word.startTime) / 2); 192 const newWord = new Word("", newStartTime, word.endTime); 193 193 this.words.splice(index + 1, 0, newWord); 194 194
Note:
See TracChangeset
for help on using the changeset viewer.