From b478c95a31d6ccd2667f6b427fe6beacf855667c Mon Sep 17 00:00:00 2001 From: ct Date: Tue, 17 Jun 2025 21:59:36 +0800 Subject: [PATCH] Update --- resources/js/modules/editor/partials/canvas/video-preview.jsx | 2 +- resources/js/modules/editor/partials/text-sidebar.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/modules/editor/partials/canvas/video-preview.jsx b/resources/js/modules/editor/partials/canvas/video-preview.jsx index 78abd23..31e1e8e 100644 --- a/resources/js/modules/editor/partials/canvas/video-preview.jsx +++ b/resources/js/modules/editor/partials/canvas/video-preview.jsx @@ -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} diff --git a/resources/js/modules/editor/partials/text-sidebar.jsx b/resources/js/modules/editor/partials/text-sidebar.jsx index e75e1c7..b21ac26 100644 --- a/resources/js/modules/editor/partials/text-sidebar.jsx +++ b/resources/js/modules/editor/partials/text-sidebar.jsx @@ -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