Update
This commit is contained in:
@@ -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 }) {
|
||||
</div>
|
||||
|
||||
{/* Note about transformer resize */}
|
||||
<div className="mt-1 text-center text-xs text-blue-600">💡 You can also resize by dragging the corners</div>
|
||||
{/* <div className="mt-1 text-center text-xs text-blue-600">💡 You can also resize by dragging the corners</div> */}
|
||||
</div>
|
||||
|
||||
{/* Font Style Controls */}
|
||||
|
||||
Reference in New Issue
Block a user