Resolve "Pen presets"
Closes #138, #180, #158, #168, #182
Design sketch https://draw.first-draft.xyz/d/138-pen-presets/
-
add strokeCap setting for lines (#180) -
add text options (#158) -
add boolean form element type -
add options form element type -
fix spelling of thickness in pen settings -
fix pressing escape after drawing to only clear selection -
add custom element type for adding pen presets -
ability to save pen options as pen preset, listed at top of pen options -
ability to save text options as text preset, listed at top of text options -
store presets for user in local storage -
save presets to user on server#147 -
set color on picker to options color if using it#190 -
add setValues
function (as will need a single call for undo/redo) -
ability to set presets at server config level -
ability set presets at user level#147 -
change styling on options so fit onto small screens -
map none
option tobutt
for strokeCap paper so can usenone
as the setting rather thanbutt
-
Ensure an undefined value passed to the form uses the default value (maybe with a setting) or uses#190''
for the text value -
add option to unselect drawn object automatically on completion#186 -
add tests for rest of utils functions -
ensure settings are updated when editing the content of a textbox and change the settings (eg size) -
use preset as default settings for tool#190 -
Fix updating of text on pan/zoom (#168, #182)
Edited by BytesNZ