From f8dc4c01f2e8fe6cf1ed0b43052bf6973dd164d2 Mon Sep 17 00:00:00 2001 From: ct Date: Sat, 21 Jun 2025 22:27:55 +0800 Subject: [PATCH] Update --- .../video-download/video-download-modal.jsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/resources/js/modules/editor/partials/canvas/video-download/video-download-modal.jsx b/resources/js/modules/editor/partials/canvas/video-download/video-download-modal.jsx index e80e0ac..7c1b009 100644 --- a/resources/js/modules/editor/partials/canvas/video-download/video-download-modal.jsx +++ b/resources/js/modules/editor/partials/canvas/video-download/video-download-modal.jsx @@ -1,10 +1,13 @@ import { Button } from '@/components/ui/button'; -import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog'; +import { Checkbox } from '@/components/ui/checkbox'; +import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '@/components/ui/dialog'; import { Spinner } from '@/components/ui/spinner'; import { Textarea } from '@/components/ui/textarea'; +import { useState } from 'react'; const VideoDownloadModal = ({ isOpen, onClose, ffmpegCommand, handleDownloadButton, isExporting, exportProgress, exportStatus }) => { - const debug = true; + const [showDebug, setShowDebug] = useState(false); + return ( @@ -24,7 +27,17 @@ const VideoDownloadModal = ({ isOpen, onClose, ffmpegCommand, handleDownloadButt ))} - {debug &&