Skip to content

🎥 Make videos programmatically with React

Update TimelineKeyframeControls.tsx

Jonny Burger6c24f383c47b
diff --git a/packages/studio/src/components/Timeline/TimelineKeyframeControls.tsx b/packages/studio/src/components/Timeline/TimelineKeyframeControls.tsx
index 426d82373e..2dbee87624 100644
--- a/packages/studio/src/components/Timeline/TimelineKeyframeControls.tsx
+++ b/packages/studio/src/components/Timeline/TimelineKeyframeControls.tsx
@@ -61,7 +61,7 @@ const isKeyframedStatus = (
const diamondButtonStyle: React.CSSProperties = {
...navButtonStyle,
background: 'none',
- translate: '0 -0.5px',
+ paddingTop: 1,
};
const svgStyle: React.CSSProperties = {display: 'block'};
@@ -382,7 +382,7 @@ export const TimelineKeyframeControls: React.FC<{
}
title={hasKeyframeAtCurrentFrame ? 'Remove keyframe' : 'Add keyframe'}
>
- <TimelineKeyframeDiamondIcon color={diamondColor} size={10} />
+ <TimelineKeyframeDiamondIcon color={diamondColor} size={12} />
</button>
<button
type="button"