This commit is contained in:
ct
2025-06-19 23:43:21 +08:00
parent 7712101b76
commit eef45fdc9d
5 changed files with 103 additions and 3 deletions

View File

@@ -16,6 +16,12 @@ const FONT_CONFIG = {
italic: '/arial.ttf',
boldItalic: '/arial.ttf',
},
Bungee: {
normal: '/fonts/Bungee/Bungee-Regular.ttf',
bold: '/fonts/Bungee/Bungee-Regular.ttf',
italic: '/fonts/Bungee/Bungee-Regular.ttf',
boldItalic: '/fonts/Bungee/Bungee-Regular.ttf',
},
};
const useVideoExport = ({ timelineElements, dimensions, totalDuration }) => {

View File

@@ -4,7 +4,7 @@ import { Button } from '@/components/ui/button';
import { cn } from '@/lib/utils';
import { useMitt } from '@/plugins/MittContext';
import useVideoEditorStore from '@/stores/VideoEditorStore';
import { Download, Edit3, Play, Square } from 'lucide-react';
import { Download, Edit3, Play, Square, Type } from 'lucide-react';
const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive = false }) => {
const { videoIsPlaying } = useVideoEditorStore();
@@ -40,9 +40,9 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
<span className="text-sm font-medium ">9:16</span>
</Button> */}
{/* <Button variant="ghost" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
<Button variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
<Type className="h-8 w-8" />
</Button> */}
</Button>
<Button
id="edit"

View File

@@ -18,6 +18,7 @@ const useMediaStore = create(
selectedMeme: null,
selectedBackground: null,
currentCaption: 'I am chicken rice',
watermarked: true,
setCurrentTab: (tab) => {
set({ currentTab: tab });