The proxies and the paint commands that name no objects stood for the Live
Paint Bucket's colors only while the bucket itself was the active tool. Two
tools that work for the bucket lost them:
- The Gradient panel's eyedropper on a stop of the bucket's gradient: the
stop was deselected as soon as the Eyedropper became active, and the click
then copied the clicked object's appearance onto the selection.
- A Cmd-click with the bucket, which the Selection tool takes: with New Art
Has Basic Appearance off, the new selection's appearance replaced the
bucket's fill and stroke.
Session::bucket_paints() now answers for the bucket, the Eyedropper armed
for a stop of its gradient (Tool::returns_to), the Selection tool lent to
either, and the actions of the Eyedropper's click that end by switching back
to the bucket. Every check that compared the tool id with the bucket's now
uses it: the proxies, the Stroke panel, the selected stop's owner, new-art
inheritance, previews and their cancel.
- The armed pick ends without sampling, and switches back to the bucket,
when its stop is no longer selected or no longer exists.
- Clicking the panel's eyedropper again while a pick is armed keeps the tool
the pick returns to.
- The Color panel's cached mixed state is keyed on bucket_paints().
- A Brush Options Key Color pick or an Image Trace ignored-color pick armed
from the bucket is not a stop pick.
Tests: live_paint_bucket_keeps_its_colors_through_the_stop_eyedropper_and_a_cmd_click
(engine), the stop option test (tools), the stop eyedropper and mixed
selection tests (ui-egui). Docs: docs/mcp.md, the Live Paint Bucket
paragraph.
imageTrace.setView read `"split": null` as an omitted divider, so it
changed the view and added an undo step instead of returning an error.
A null divider is now refused as any other value that is not a number
from 0 to 1 is; an omitted one still keeps the divider.
A handle drag kept the Alt and Cmd/Ctrl state it had before Space was
pressed, so pressing Alt or releasing Cmd/Ctrl during a Space translation
changed nothing until Space was released and the pointer moved. Both
modifiers are now read on every drag event. The Space translation still
keeps the accepted handle position.
The Import PDF and Place PDF dialogs have a new Text choice, Editable or
Outlines, which they send as the textAs param of document.open and
file.place. Outlines brings the text in as the glyph outlines the file
draws, so it looks the same on a computer that lacks the PDF's fonts.
The dialogs keep the choice in a new preference, Preferences > File
Handling > PDF Text (pdfTextAs, Editable by default). A PDF that opens,
or is placed embedded, without the dialog uses that preference when its
params give no textAs. The preference does not change how .ai and .ait
files open, or an open with linkPages. Outlines clears Import PDF pages
as links, and a linked place dims the choice: a linked page shows the
file's own text.
The three new strings have rows in every catalog.
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.
- paint.editGradient refuses an aspect when the Live Paint filter leaves
no object. Graph design art alone still changes nothing without an
error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
The handle drag that keeps Space translation sent path.setHandle without
`symmetric`, so Cmd/Ctrl no longer mirrored the opposite handle on an
ordinary path. The drag now records the mirror with the handle it accepts
and sends it on every preview, so the opposite handle stays mirrored while
Space moves the anchor. Alt still takes priority.
view.proofSetup.save refuses a setup whose file would be larger than
the 64 KiB view.proofSetup.load reads (a device profile with a very
long name), and writes nothing.
A dropped press puts back the persistent options the tool had when the
press began. It also put back an option set while the press was held
(tool.setOption or the desktop app's setter), and the next store of the
tool's options wrote the old value over the new one. A General > Corner
Radius change during a Rounded Rectangle press was undone the same way.
- Setting an option of the tool that took the press updates the press's
saved options with every option the set changed, so the dropped press
keeps them.
- Setting an option stores all of the tool's options, the drag's changes
included, so a dropped press after such a set stores the options it
puts back.
- A Corner Radius change updates the held Rounded Rectangle press's
saved radius.
- Both hold when the tool lent a selection tool for the press (a
Cmd-drag).