Update
This commit is contained in:
@@ -478,7 +478,7 @@ const VideoPreview = ({
|
|||||||
fontFamily={element.fontFamily || 'Arial'}
|
fontFamily={element.fontFamily || 'Arial'}
|
||||||
fill={element.fill || '#ffffff'}
|
fill={element.fill || '#ffffff'}
|
||||||
stroke={element.strokeWidth > 0 ? element.stroke || '#000000' : undefined}
|
stroke={element.strokeWidth > 0 ? element.stroke || '#000000' : undefined}
|
||||||
strokeWidth={element.strokeWidth || 0}
|
strokeWidth={element.strokeWidth * 3 || 0}
|
||||||
fillAfterStrokeEnabled={true}
|
fillAfterStrokeEnabled={true}
|
||||||
strokeScaleEnabled={false}
|
strokeScaleEnabled={false}
|
||||||
rotation={element.rotation || 0}
|
rotation={element.rotation || 0}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export default function TextSidebar({ isOpen, onClose }) {
|
|||||||
|
|
||||||
// Stroke width constraints
|
// Stroke width constraints
|
||||||
const MIN_STROKE_WIDTH = 0;
|
const MIN_STROKE_WIDTH = 0;
|
||||||
const MAX_STROKE_WIDTH = 10;
|
const MAX_STROKE_WIDTH = 3;
|
||||||
const STROKE_WIDTH_STEP = 1;
|
const STROKE_WIDTH_STEP = 1;
|
||||||
|
|
||||||
// Update state when selected element changes - THIS KEEPS SIDEBAR IN SYNC WITH TRANSFORMER
|
// Update state when selected element changes - THIS KEEPS SIDEBAR IN SYNC WITH TRANSFORMER
|
||||||
|
|||||||
Reference in New Issue
Block a user