A new library.new_symbol command (Ctrl+F8, Insert > New Symbol...) adds
an empty graphic, movie clip or button symbol to the Library, optionally
in a folder, and opens it for editing, as one undo step. A small Create
New Symbol dialog asks for the name, type and folder; the Library panel
gains a New Symbol button and context-menu entry. Parity P-021 is done.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the toggle on and a folder active, the timeline now lists the
folder with the layers inside it (nested folders too, closed folders
still closed) instead of the folder row alone. In a narrow layers
column the Layers heading is left out when it would push the parenting
and View Only the Active Layer toggles into the all-layers eye.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Eraser's options gain a Match Brush tip checkbox. When it is on, the
eraser erases and previews with the Brush tool's size, shape, angle and
roundness, and the size and shape controls and the [ and ] keys edit the
Brush's tip, so both tools stay the same. Off by default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- raw.convert_points returns the ids of the elements that exist after the
merge, and reports merged: false when the merge declined.
- set_smooth_handles makes the closing edge after the anchor explicit, not
the first one in the path, so an anchor after an earlier Close keeps its
command index.
- Once a handle pull has started, moving back within the drag threshold
still updates the handle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Holding Alt while dragging with the Rectangle or Oval tool centres the
shape on the press point; Shift+Alt gives a centred square or circle.
The preview and the drawn shape share one helper, shape_box.
Fixes#637
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A selected shape with a solid fill gets a Fill alpha slider (0-100 %)
right under Fill, sent through element.set_fill so a drag is one undo
step. Mixed gains fill_alpha so differing opacities show as mixed.
Fixes#645
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Saving a brush lived only in Window › Brush Library. The Brush row in
Properties (Brush and Paint Brush) gains a Save… button that opens the
library with its name field focused, pre-filled with the current preset's
name when there is one. Saving still goes through brush.preset_save.
Fixes#632
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Free Transform ignored Alt on a rotate drag. With Alt held, the turn now
pivots on the corner diagonally opposite the one grabbed (on a turned box
too), Shift's 15° snap still applies, and the transformation-point marker
shows the pivot in use. Help text and the drawing guide mention it.
Fixes#629
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New Lasso tool (L): draw a freehand loop to cut out and select the parts of
merged fills and lines inside it and pick objects wholly inside it, on every
visible, unlocked layer. Shift adds, Esc cancels. The new raw.select_area
command does the work, so the selection is scriptable and a Polygon mode
can reuse it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New geometry module anicraft_geom::curve with optimize, smooth and
straighten, and the commands modify.smooth, modify.straighten and
modify.optimize (with a strength and passes dialog). They work on raw
fills, strokes and drawing objects, remerge raw shapes, keep paints and
stroke settings, and are one undo step each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Holding Alt and dragging from an anchor pulls out mirrored Bezier handles on
drawing objects and merged drawings, live, in one undo step; Shift snaps the
handle to 45-degree steps. path.convert_point and raw.convert_points take an
optional handle: [dx, dy] so the same edit works headless.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Properties shows a Create Object button when raw (merge-drawing) shapes are
selected; it runs the new modify.create_object command, also in Modify >
Combine Objects and the stage context menu. One raw shape becomes a drawing
object in place; several are united as Union does. One undo step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Create Motion Tween on raw shapes, a bitmap, a group or several objects
now opens a confirmation dialog with the symbol type choice (shared with
Convert to Symbol) and changes nothing on Cancel. A keyframe that already
holds one symbol instance tweens directly.
timeline.create_motion_tween takes an optional `kind` (default graphic)
and reports `symbol`, `symbol_name` and `symbol_kind` when it converts,
still in one undo step.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: crates/fla/src/shape.rs (the stroke kinds of #481 replace #478's later drawn-solid report, whose test now checks them), docs/roadmap.md (main's row kept; updated in a later commit).
Resolves the Cargo.toml conflict by keeping both new workspace
dependencies: craft-cfb (this branch) and craft-text (main).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>