fix:彻底清除 ProjectGeneration.tsx 中未使用的 scale 变量
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Tests / lint (push) Failing after 1924h9m29s
Tests / test (push) Failing after 1924h9m30s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Tests / lint (push) Failing after 1924h9m29s
Tests / test (push) Failing after 1924h9m30s
This commit is contained in:
@@ -59,9 +59,8 @@ const TITLE_OPTIONS = [
|
||||
*/
|
||||
const TimelineClip: React.FC<{
|
||||
clip: EditPlanClipItem;
|
||||
scale: number;
|
||||
totalDuration: number;
|
||||
}> = ({ clip, scale, totalDuration }) => {
|
||||
}> = ({ clip, totalDuration }) => {
|
||||
const left = (clip.start_time / totalDuration) * 100;
|
||||
const width = (clip.duration / totalDuration) * 100;
|
||||
const layerIndex = clip.layer === "pip" ? 1 : clip.layer === "broll" ? 2 : 0;
|
||||
|
||||
Reference in New Issue
Block a user