From f10e531c717893f2b1b0b6c9bf535e67d493fcd0 Mon Sep 17 00:00:00 2001 From: ct Date: Fri, 18 Jul 2025 01:26:13 +0800 Subject: [PATCH] Update --- resources/js/modules/editor/partials/text-sidebar.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/js/modules/editor/partials/text-sidebar.jsx b/resources/js/modules/editor/partials/text-sidebar.jsx index d8e3bb8..4113717 100644 --- a/resources/js/modules/editor/partials/text-sidebar.jsx +++ b/resources/js/modules/editor/partials/text-sidebar.jsx @@ -4,8 +4,8 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@ import { Sheet, SheetContent, SheetHeader, SheetTitle } from '@/components/ui/sheet'; import { Textarea } from '@/components/ui/textarea'; import { useMitt } from '@/plugins/MittContext'; -import useVideoEditorStore from '@/stores/VideoEditorStore'; import useMediaStore from '@/stores/MediaStore'; +import useVideoEditorStore from '@/stores/VideoEditorStore'; import { Bold, Italic, Minus, Plus, Type } from 'lucide-react'; import { useEffect, useState } from 'react'; @@ -84,7 +84,7 @@ export default function TextSidebar({ isOpen, onClose }) { elementId: selectedTextElement.id, updates: { text: newText }, }); - + // Update MediaStore to maintain single source of truth updateCurrentCaption(newText); } @@ -303,7 +303,7 @@ export default function TextSidebar({ isOpen, onClose }) { {/* Note about transformer resize */} -
💡 You can also resize by dragging the corners
+ {/*
💡 You can also resize by dragging the corners
*/} {/* Font Style Controls */}