This commit is contained in:
ct
2025-06-16 23:45:49 +08:00
parent ef2871a983
commit 2dc85f70cc
3 changed files with 105 additions and 2 deletions

View File

@@ -445,6 +445,8 @@ const VideoPreview = ({
x={element.x}
y={element.y}
fontSize={element.fontSize}
fontStyle={element.fontWeight === 'bold' || element.fontWeight === 700 ? 'bold' : 'normal'} // ADD THIS LINE
fontFamily="Arial"
fill={element.fill}
stroke={element.stroke}
strokeWidth={element.strokeWidth}