From f31401760db132fb285440ce7137c29ef2005f07 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 22 Aug 2026 19:35:44 +0300 Subject: [PATCH] feat(editor): double-click media to set a clip's anchor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The inner hijacked the card's drag with a native image drag, so the drop payload was a URL, not a media id — and it got worse the bigger the image. Opt the image out and give the drag a cheap ghost. --- CHANGELOG.md | 6 +++++ movie_editor/frontend/mediabrowser.js | 33 +++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7527e10..0bfbf995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,12 @@ looked exactly like one where the feature was switched off. ### Fixed +- **Double-click an image in the Media bin to make it the selected clip's anchor.** Dragging + was the only way in, and it could not be relied on: an `` is natively draggable, so + inside the card the browser started its own image drag whose payload every drop target + rejects — worse the larger the image. The image now opts out of dragging, and the drag + ghost is the thumbnail rather than a snapshot of the full-size card. + - **Preview playback could stall at "Video is loading…" and stay there**, with the transport buttons dead. A media reset leaves a `