mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-25 10:39:37 +00:00
915728e9c7
Drag and drop didn't work while the prompt focus mode was open - the modal sat on top of the inline promptbox's drop zone, so files just did nothing (webapp and desktop). ### Changes - `usePromptBoxDrop` now exposes `fullscreenDropZoneProps` - same handlers/routing, second ref so the Tauri hit-test follows the focus-mode modal while it's open - `PromptFullscreenModal` (shared lib + webapp copy) takes optional `dropZoneProps` / `dropOverlay` and renders the drop zone + hover overlay on its panel - Image / Video / Audio boxes + webapp `PromptBox` pass their existing drop wiring through - one overlay element now serves both the inline box and focus mode - No new drop logic anywhere: same MIME routing, accept/reject toasts, keyframe handling, and paste behavior as dropping on the inline box