Skip to content

🎥 Make videos programmatically with React

fix layout bug

Jonny Burger7d886ed6f2f1
diff --git a/packages/studio/src/components/Timeline/TimelineExpandedTrackKeyframes.tsx b/packages/studio/src/components/Timeline/TimelineExpandedTrackKeyframes.tsx
index 4a49485cf4..e4ab72e76f 100644
--- a/packages/studio/src/components/Timeline/TimelineExpandedTrackKeyframes.tsx
+++ b/packages/studio/src/components/Timeline/TimelineExpandedTrackKeyframes.tsx
@@ -140,7 +140,7 @@ const TimelineExpandedTrackKeyframesInner: React.FC<{
return (
<div
style={{
- height: expandedHeight + TIMELINE_ITEM_BORDER_BOTTOM,
+ height: expandedHeight,
}}
>
<div style={{height: expandedHeight}}>
diff --git a/packages/studio/src/components/Timeline/TimelineSelection.tsx b/packages/studio/src/components/Timeline/TimelineSelection.tsx
index d6a51fa38e..7c78bafeb9 100644
--- a/packages/studio/src/components/Timeline/TimelineSelection.tsx
+++ b/packages/studio/src/components/Timeline/TimelineSelection.tsx
@@ -13,7 +13,7 @@ import type {SequenceNodePathInfo} from '../../helpers/get-timeline-sequence-sor
import {TIMELINE_PADDING} from '../../helpers/timeline-layout';
import {timelineNodePathInfoToKey} from '../../helpers/timeline-node-path-key';
-export const TIMELINE_SELECTED_BACKGROUND = 'rgba(255, 255, 255, 0.1)';
+export const TIMELINE_SELECTED_BACKGROUND = '#3B3F42';
export const TIMELINE_SELECTED_LABEL_BACKGROUND = '#B0B0B0';
export const TIMELINE_SELECTED_LABEL_TEXT = 'black';
export const TIMELINE_SELECTED_LABEL_HORIZONTAL_PADDING = 2;