Update
This commit is contained in:
@@ -476,9 +476,11 @@ const VideoPreview = ({
|
||||
fontSize={element.fontSize}
|
||||
fontStyle={getTextFontStyle(element)}
|
||||
fontFamily={element.fontFamily || 'Arial'}
|
||||
fill={element.fill}
|
||||
stroke={element.stroke}
|
||||
strokeWidth={element.strokeWidth}
|
||||
fill={element.fill || '#ffffff'}
|
||||
stroke={element.strokeWidth > 0 ? element.stroke || '#000000' : undefined}
|
||||
strokeWidth={element.strokeWidth || 0}
|
||||
fillAfterStrokeEnabled={true}
|
||||
strokeScaleEnabled={false}
|
||||
rotation={element.rotation || 0}
|
||||
// Center the text horizontally
|
||||
align="center"
|
||||
|
||||
Reference in New Issue
Block a user