This commit is contained in:
ct
2025-06-17 21:59:36 +08:00
parent 7dc9c558e5
commit b478c95a31
2 changed files with 2 additions and 2 deletions

View File

@@ -478,7 +478,7 @@ const VideoPreview = ({
fontFamily={element.fontFamily || 'Arial'}
fill={element.fill || '#ffffff'}
stroke={element.strokeWidth > 0 ? element.stroke || '#000000' : undefined}
strokeWidth={element.strokeWidth || 0}
strokeWidth={element.strokeWidth * 3 || 0}
fillAfterStrokeEnabled={true}
strokeScaleEnabled={false}
rotation={element.rotation || 0}

View File

@@ -41,7 +41,7 @@ export default function TextSidebar({ isOpen, onClose }) {
// Stroke width constraints
const MIN_STROKE_WIDTH = 0;
const MAX_STROKE_WIDTH = 10;
const MAX_STROKE_WIDTH = 3;
const STROKE_WIDTH_STEP = 1;
// Update state when selected element changes - THIS KEEPS SIDEBAR IN SYNC WITH TRANSFORMER