mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-25 02:27:00 -06:00
With the Project panel focused, Delete Project Items Without Confirmation runs project.delete on the selection: items compositions use go without the prompt, with their layers, in one undo step. In the other panels it does nothing, and like every shortcut it doesn't fire while typing or with a dialog open. On Windows the windowing layer sends Shift+Delete as Cut (the old Cut key), which was mapped to Ctrl+X: in the Project panel, which has no clipboard, a Cut with only Shift held is Shift+Delete now. Elsewhere it still cuts. Tests (ui_project_delete): Shift+Delete as a key and as Windows' Cut deletes a comp, a solid in use, footage and a folder without the prompt and one undo restores them; a multi-selection with a folder holding a solid in use goes together; an empty selection deletes nothing; the next Delete still asks after Shift+Delete or an answered prompt; it does nothing in the Composition panel, while renaming or with a dialog open; Shift+Backspace, Alt/Ctrl+Delete and Ctrl/Alt+Shift+Delete don't delete. The deleting tests fail without this change.