Changelog
1.4.1
minDimension
argument not resizing the background when toSVG
was called on an empty, auto-resizing image.Changelog
1.4.0
Editor::toSVG
now allows specifying a minimum output dimension.Editor::toSVGAsync
.Editor::setReadOnly
). Note that this feature only attempts to prevent a user from editing the image (and doesn't protect from edits via the API).Changelog
1.3.1
Changelog
1.3.0
EditorImage.setAutoresizeEnabled
). These drawings automatically resize to fit what has been drawn when saved.Changelog
1.2.2
pathToRenderable
, pathFromRenderable
, and pathVisualEquivalent
. These functions were renamed in version 1.0.0 and the new versions were not exported.Changelog
1.2.1
adjustEditorThemeForContrast
not ensuring that the selection and the main toolbar background have sufficient contrast.Changelog
1.2.0
Color4
utility functions (fromHSV
, fromRGBVector
, contrastRatio
, and .rgb
).adjustEditorThemeForContrast
function.transform
to translation
when setting the position of the edge toolbar for compatibility with older browsers.Changelog
1.1.0
ctrl+s
(or meta+s
) to the save action, if added with AbstractToolbar.addSaveButton
.--foreground-color-2
to match --background-color-2
).Changelog
1.0.2
.npmignore
allowing some unnecessary files.Changelog
1.0.1
js-draw
can run in contexts where links are not expected.@js-draw/material-icons