|
@@ -39,7 +39,8 @@ export default defineComponent({
|
|
|
state.speed = speed.value
|
|
|
// handleSetSpeed(speed.value);
|
|
|
if (state.playState === 'paused') {
|
|
|
- const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
|
|
|
+ // const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
|
|
|
+ const currentItem: any = state.times[state.activeNoteIndex];
|
|
|
state.basePlayRate = currentItem?.measureSpeed ? state.speed / currentItem.measureSpeed : state.speed / state.originSpeed;
|
|
|
}
|
|
|
}
|