Procházet zdrojové kódy

排箫,竖笛,陶笛,升个8度

liushengqiang před 1 rokem
rodič
revize
c227fe3071
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/page-instrument/view-detail/index.tsx

+ 1 - 1
src/page-instrument/view-detail/index.tsx

@@ -45,7 +45,7 @@ const resetFrequency = (list: any[]) => {
  * 乐器指法处理
  */
 const setNoteHalfTone = (list: any[]) => {
-  const instrumentNames = ["hulusi-flute"];
+  const instrumentNames = ["ocarina", "pan-flute", "piccolo"];
   if (!state.fingeringInfo?.name || !instrumentNames.includes(state.fingeringInfo.name)) return list;
   for (let i = 0; i < list.length; i++) {
     const note = list[i];