Repository navigation
画布背景:纯色或模糊视频填充 - #80
Open
devin-ai-integration[bot] wants to merge 7 commits into
Open
devin-ai-integration[bot] wants to merge 7 commits into
devin-ai-integration[bot] wants to merge 7 commits into
Conversation
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
…he keyboard Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Open
Contributor
Author
There was a problem hiding this comment.
Devin Review found 4 findings. Devin automatically fixed all 4 findings.
Fixed by Devin (4)
- Wrong initial color after blur — Picker input now binds to the remembered color (kept in sync with restored/MCP backgrounds), so it opens on the saved color while blur is active.
- Invalid JianYing background color format — canvas_color now written as #RRGGBBFF.
- Keyboard-inaccessible canvas color picker — Selecting the color item (Enter or click) keeps the menu open and opens the picker via showPicker/click.
- Remembered color leaves canvas blurred — Opening the swatch now switches the canvas to the remembered solid color.
…el check Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
画布背景不再固定为黑色。顶部画布菜单新增「背景颜色」(取色器)和「模糊背景」两项。
blur(max(w,h)/40),片段自身的调节滤镜也一起应用。drawBackdrop复用该片段图层已经取到的同一帧,所以导出时不会为背景再解码一次。预览(PlayerMoveable里一个单独的 canvas)和 MP4 导出用的是同一个drawBackdrop。bg字段,值为颜色或'blur';默认黑色不写入,旧工程不受影响。useEditorDraft会保存和恢复背景,导出.flycut文件时也带上背景。canvases素材,纯色用canvas_color,模糊用canvas_blur(blur 0.375)。set_canvas { ratio?, background? };get_timeline().canvas返回background。命令的 schema 校验现在支持pattern。叠在 #79 上。
Link to Devin session: https://app.devin.ai/sessions/a882af08b80c444280600c6cdc988c2e
Open in Devin Desktop: https://app.devin.ai/desktop/session/a882af08b80c444280600c6cdc988c2e?variant=devin
Requested by: @x007xyz
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work