Parcourir la source

Merge branch 'feature-tianyong' into gym-test

TIANYONG il y a 4 mois
Parent
commit
b201c0ac1c
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      src/state.ts

+ 8 - 0
src/state.ts

@@ -1210,6 +1210,14 @@ export const handleChangeSection = () => {
     resetBaseRate(state.activeNoteIndex);
     //skipNotePlay(0, true);  取消选段的时候 不跳回开头
     state.sectionFirst = null;
+    // IOS18.1.1浏览器渲染更新有问题,需要手动更新一下
+    const selectionDom = document.getElementById('selectionBox')
+    if (selectionDom) {
+      selectionDom.style.display = 'none';
+      requestAnimationFrame(() => {
+        selectionDom.style.display = 'block';
+      })
+    }
     return;
   }
   state.sectionStatus = true;