After an Apply that entered Touch, the Enable Contextual Task Bar row
kept the value given to the workspace left, and the next Apply wrote it
to Touch. The row now shows the task bar in use after each Apply. When
OK leaves Touch, the workspace returned to takes the row only when it
was edited; otherwise it keeps the value it left with.
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.
`tests::panel_harness::floated` shows a panel docked or floating in the
whole app window and returns its body and named nodes, with `Shown::past`,
`past_named` and `middles`. The panel-row tests and the Gradient panel
tests both use it instead of their own copies.
Split Into Grid's fields edit a copy of the dialog values inside the grid
and keep it only when the pass takes effect, as form::stacked does, so a
measuring pass no longer changes the values the real pass reads.
tests::script_dialogs::frame returns the last pass's output, and the
Picked files group test reads the accessibility tree from it instead of
running its own frame.
#9100 replaced Session::bucket_paints with tool_paints(stroke), and #7718's
contrast cache key still called bucket_paints, so main stopped compiling.
The key now records whether the active tool paints with the proxy in front,
the paint color.contrast measures.
Window takes an optional size (Window::sized), and the test that checks the
format rows at the default and least window sizes runs its frames through it
instead of its own copy of Window::run's frame loop.
The line said layers were not there yet, while a page item's parent is
already a Layer with name, typename and toString. It now names
Document.layers and Document.activeLayer as the members still missing.
With ECMAScript 2015, Function.prototype.bind gave every bound function
Function.prototype as its prototype, so a bound generator function's
constructor was Function instead of GeneratorFunction. The bound function
now takes the target's prototype, read before length and name (ECMA-262
2020 section 9.4.1.3). Without the option it keeps Function.prototype,
as ES5 section 15.3.4.5 specifies.
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.
The tool overview in docs/mcp.md said the pointer snaps within 5 screen
points. It now names the tool's Snap Tolerance (5 by default) and the
limit that Snap with Smart Guides Off sets while Smart Guides are off,
as the options section below describes.