Skip to content

Commit

Permalink
修正打轴时没有设置行始末时间的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-xmh committed Feb 3, 2024
1 parent f29e283 commit 5987604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LyricSyncEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ function onKeyPress(e: KeyboardEvent) {
}
}
const nextWord = getCurrentWord();
const currentLine = getCurrentLine();
if (nextWord) {
nextWord.startTime = currentTimeMS.value;
const currentLine = getCurrentLine();
if (currentLine && currentWord.wordIndex === 0) {
currentLine.startTime = nextWord.startTime;
}
Expand Down

0 comments on commit 5987604

Please sign in to comment.