Browse Source

feat: 渐变小节隐藏节拍指针

TIANYONG 4 months ago
parent
commit
0c7946c5dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/helpers/metronome.ts

+ 1 - 1
src/helpers/metronome.ts

@@ -697,7 +697,7 @@ function isWithinRange(ranges:any[], index:number) {
 	for (const range of ranges) {
 		const start = range[0].measureIndex;
 		const end = range[1].measureIndex;
-		if (index >= start && index <= end) {
+		if (index >= start && index < end) {
 			return true;
 		}
 	}