liushengqiang hace 2 años
padre
commit
6073c127e3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/view/tick/index.tsx

+ 1 - 1
src/view/tick/index.tsx

@@ -39,7 +39,7 @@ const handlePlay = (i: number, source: Howl | null) => {
 export const handleInitTick = (beatLengthInMilliseconds: number, beat: number) => {
 	tickData.state = "";
 	tickData.beatLengthInMilliseconds = beatLengthInMilliseconds
-	tickData.len = beat < 4 ? 4 : beat;
+	tickData.len = beat;
 };
 
 /** 开始节拍器 */