mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 21:57:04 +00:00
While the Smooth tool is in use with a path it can smooth selected, the bar shows the tool's Fidelity field and Tool Options..., which opens the Smooth tool's options. The field sets Fidelity through tool.setOption with the same range, unit and steps as the field in the options dialog. With nothing smoothable selected, the tool shows no bar. The bar leaves out the selection tools' actions and the Fill, Stroke, Recolor Artwork and Lock controls. On a canvas too narrow for the field, More Options lists Fidelity, which opens the tool's options. The Smooth tool's cursor and the bar share one check of the selection, which the bar keeps for the document's revision.