bill преди 4 месеца
родител
ревизия
94a1112e9f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/animation/right/am.vue

+ 1 - 1
src/views/animation/right/am.vue

@@ -202,7 +202,7 @@ const getActionDur = (key: string) => {
   const actions = amMap[getAMKey(props.am)]?.am?.getSupportActions() || [];
   const action = actions.find((item) => item.name === key);
   if (action?.duration) {
-    return Math.floor(action?.duration);
+    return Math.floor(action?.duration * 100) / 100;
   }
 };
 </script>