feat: FlexCrop clip edges in composition pixels - #122
Closed
J160KU wants to merge 3 commits into
Closed
Conversation
Add Kdenlive-style Crop Left/Right/Top/Bottom sliders and edit_item transform.crop so users and the in-app agent can trim clip edges with 1px precision. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep a small J160KU credit at the README footer without a banner. Co-authored-by: Cursor <cursoragent@cursor.com>
Add an Unreleased changelog entry, a Clip crop section at the top of both READMEs, and refresh the agent tool catalog so edit_item transform.crop is documented. Co-authored-by: Cursor <cursoragent@cursor.com>
J160KU
force-pushed
the
j160ku/clip-crop-inspector
branch
from
August 27, 2026 17:25
45b3fd0 to
1586d78
Compare
4 tasks
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
edit_itemtransform.crop/transform.flexCropuse composition pixels (left/right 0…canvas width, top/bottom 0…canvas height). Storage stays a 0–1 canvas fraction.transform.crop: nullclears crop.CHANGELOG.md[Unreleased], a Clip crop section at the top ofREADME.md/README_ZH.md, and the generated agent tool catalog.Test plan
pxand the preview checkerboard shows through cropped edges.edit_itemwithtransform.crop: { left: 240 }(pixels, not percent);transform.crop: nullclears.tsx src/editor/clipCrop.verify.ts,tsx src/agent/tools/edit-item-generic.verify.ts,tsx src/components/inspector/inspector-controls.verify.tsMade with Cursor