feat: 新增导出设置、过渡与缓动及重做支持

This commit is contained in:
tongtong committed 2026-09-19 04:41:48 +08:00
1 parent 482d649f84
commit 2c59709f6b
18 files changed
+1174 -351

No files matched your search

+7
View File
@@ -59,6 +59,13 @@ export default function App() {
if (key === "z" && !event.shiftKey) {
event.preventDefault();
useDirectorStore.getState().undo();
return;
}
// 重做:Ctrl/Cmd+Shift+Z 或 Ctrl+Y(Mac 上常见为 Cmd+Shift+Z)
if ((key === "z" && event.shiftKey) || key === "y") {
event.preventDefault();
useDirectorStore.getState().redo();
}
}