still_wait started its STILL_SECS wait again whenever the cache key
asked for changed, and the key holds the document's revision. After a
heavy document's view moved and stopped while a drag went on editing
it, each edit was drawn into the frame shown and restarted the wait,
so the canvas never rendered whole for the view while the edits went
on. The wait now starts again only when the document or the view
(zoom, centre, size, pixel density, rotation, Pixel Preview's pixels)
changes. The checks that render at once when more than the view
differs from the frame shown are unchanged.
Refs #8688
In the web build (no render worker), while the view of a document whose
last render took more than 8 ms moves, the canvas draws the last frame
moved with the view and renders once the view is still. An edit in
that time rendered the whole canvas at the new view, every frame: a
tool drag held at an edge of the canvas (#8551) or a wheel scroll during
a drag did that on each step.
Such an edit is now drawn into the frame shown, at the view it was
rendered for: only the part the edit changed (changed_pixels). The
frame stays drawn reprojected and renders whole once the view has been
still for STILL_SECS, as for a view change without an edit. An edit
that changes more than half of the frame, or one while more than the
view and the document change, renders whole at once as before. The
partial redraw of draw_frame moves into draw_changed, shared by both.
Fixes#8688
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.
This takes three behavior changes out of the branch, so that it holds the
opaque background and the character cell it fills:
- A single line without advances is aligned as before, without its
trailing spaces. Its cells run across its glyphs' advances from where
its type starts; blanks alone, which draw no type, are filled where the
alignment puts them.
- NULs after a line break add their advance to the character before them,
as before.
- Blanks that are underlined or struck through draw nothing, as before.
A string of NULs alone in an underlined font now fills its cells and
adds no empty type object.
docs/mcp.md no longer describes the three, and docs/target-app-parity.md
lists the background and the cell.
The first commit's body names FontFace::win_ascent_descent as
Face::win_ascent_descent. A device context starts with a background color
that is typically white; the first commit states white as the playback
default.
The opening sentence of the window.taskBar.actions entry in docs/mcp.md
now says the action toggles when visible is omitted or null, as the
params text does. The comment above bar_actions_refuse_bad_params now
says a visible that is not true, false or null is an error.
Shift held once an artboard move or Alt-drag copy is under way keeps it
to the level, upright or 45° line from General › Constrain Angle, as a
Selection tool move does. A Shift-press still draws an artboard inside
another or marquee-selects (#2497). Smart Guides, the grid and whole
pixels slide the move along its line, and the cursor stays the move
cursor during a move.