🎥 Make videos programmatically with React
fix timeline layers
Jonny Burger40624a62526c
diff --git a/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx b/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsxindex 4631cf6668..4d06040223 100644--- a/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx+++ b/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx@@ -49,7 +49,6 @@ const timeValue: React.CSSProperties = {top: 0,width: '100%',paddingLeft: TOTAL_TIMELINE_LAYER_LEFT_PADDING,- boxShadow: `0 0 20px ${BACKGROUND}`,display: 'flex',alignItems: 'center',background: BACKGROUND,diff --git a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsxindex ea21e5da78..a9419986e0 100644--- a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx+++ b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx@@ -4,20 +4,21 @@ import React, {useEffect, useRef, useState} from 'react';import {TIMELINE_LAYER_HEIGHT} from '../../helpers/timeline-layout';const containerStyle: React.CSSProperties = {- height: TIMELINE_LAYER_HEIGHT,- width: TIMELINE_LAYER_HEIGHT,+ height: TIMELINE_LAYER_HEIGHT - 2,+ width: TIMELINE_LAYER_HEIGHT - 2,backgroundColor: 'rgba(0, 0, 0, 0.3)',display: 'flex',justifyContent: 'center',alignItems: 'center',textAlign: 'center',- borderRadius: 2,+ borderTopLeftRadius: 2,+ borderBottomLeftRadius: 2,fontSize: 10,fontFamily: 'Arial, Helvetica',};const svgStyle: React.CSSProperties = {- height: 20,+ height: 12,};const pathStyle: React.CSSProperties = {