apply_answer read the working settings once for the reply's profileChoice
and again inside apply_open_policies_choosing. A Color Settings change
between the two reads could report an answer that the policies did not
apply. apply_open_policies_choosing now takes the snapshot, and
apply_answer passes the one it built the question from.
The params text and docs/mcp.md said the center stays when no reference point applies. With a center, the shape's center moves to the given point; the docs now name that case.
The chosen script is prepared only after the skip check, so a skipped round leaves its read to script.run. The new startup tests use a TempDir that removes the folder when the test ends.
A selected ruler guide that a transform turns to an angle becomes a
selected guide path, but the reply's ids left it out: object.rotate
with copy on a lone guide returned {"ids": []}. transform_ruler_guides
now returns the ids of the paths it adds, and the transform commands
add them after the transformed objects, on the direct-selected anchor
route too.
- `toString()` on a page item list from a closed or replaced document throws
"Stale document", as its other members do.
- A member a host class declares unavailable is not reported by
`hasOwnProperty` or `propertyIsEnumerable` even when a parent class has it.
- Assigning a name an object of a host class inherits from a prototype no
longer calls the class's indexer, so a non-strict assignment is ignored
instead of throwing.
- Assigning a selection checks repeated objects with a set instead of
scanning the list for each object.
- The script report test throws a text that names `Window` for the case of
an error the script wrote itself.
clip_to kept a piece of an unfilled outline only when its middle tested
inside the mask, and a point on the mask's own outline tests inside on
some sides and outside on others. A square clipped by the same square
kept two sides, so Fill Area found no area inside it.
A piece whose middle lies on the mask's outline now counts as shown when
the mask's filled area lies on one side of it. A piece just outside the
mask, and a piece on an outline of the mask that bounds no filled area,
stay hidden.
While the Live Paint Bucket (or the Shape Builder, for the fill) is the
active tool, the Fill and Stroke proxies show the color the tool paints
with. color.contrast still took the opacity and blend modes from the
selected objects, so it rated the bucket's color at an opacity it is not
drawn with, and refused to answer when the selected objects were drawn
differently. It now draws the tool's color in Normal mode, at `opacity`
or fully opaque, as for a given `color`.
Docs: docs/mcp.md and the command's params text.
The installed-font search keeps a face that holds glyphs without
completing a shape only while a split shape is not found yet, and drops
the kept faces once every split shape is found. A shape matched whole is
compared without the kept faces.
The pop-up's Radius edits are now collected inside the Stack and applied
after it, as the kind and rounding radios already are.
relativeRadii no longer turns a plain path into a Live Corners path here;
that change goes to its own pull request. relativeRadii on a plain path,
an ellipse or a line leaves it as it is and adds no undo step.
The Paintbrush with a brush whose Size or Width is on Stylus Wheel with
a range the wheel can change, or the Eraser with a value on Stylus Wheel
and a variation above 0, uses the wheel. The app asks the active tool
(Tool::reads_wheel) once a frame and tells the host when the answer
changes (Services::stylus_wheel). Until a tool uses the wheel, a pen
message loads no Wintab32.dll, installs no hook, subclasses no window
and opens no context; when it stops, the context closes.
A startup script refused before it begins, such as with an undo group
open, is named in the Script Console. Stopping the runs from the quit
prompt between two queued runs drops the runs not yet started, and the
status bar says so. While that prompt is open, or before its answer is
taken, the next run does not start.