Skip to content

Commit

Permalink
OV-347: * duplicated code in merge, and Math.ceil insted of round
Browse files Browse the repository at this point in the history
  • Loading branch information
lfelix3011 committed Sep 24, 2024
1 parent 713eece commit cef9e6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions frontend/src/bundles/studio/pages/studio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,6 @@ const Studio: React.FC = () => {
<Player playerRef={playerReference} />
</Box>

<VStack alignItems="stretch">
<PlayerControls playerRef={playerReference} />
<Box overflowY="auto">
<Timeline playerRef={playerReference} />
</Box>
</VStack>
<VideoMenu />
<Box flex="1 1 auto">
<Player playerRef={playerReference} />
</Box>

<VStack alignItems="stretch">
<PlayerControls playerRef={playerReference} />
<Box overflowY="auto">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/bundles/studio/store/slice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ const { reducer, actions, name } = createSlice({
continue;
}

scene.duration = Math.round(duration);
scene.duration = Math.ceil(duration);
index++;
}
},
Expand Down

0 comments on commit cef9e6f

Please sign in to comment.