Update
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user