mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Changelog: More refinements and reordering.
This commit is contained in:
parent
4f0ae73cb4
commit
65affaf63d
1 changed files with 7 additions and 3 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -61,6 +61,8 @@ contribute to the code.
|
||||||
- `PathItem#smooth()` now accepts an `options.type` string specifying which
|
- `PathItem#smooth()` now accepts an `options.type` string specifying which
|
||||||
smoothing algorithm to use: `'asymmetric'` (default), `'continuous'`,
|
smoothing algorithm to use: `'asymmetric'` (default), `'continuous'`,
|
||||||
`'catmull-rom'`, and `'geometric'` (#338).
|
`'catmull-rom'`, and `'geometric'` (#338).
|
||||||
|
- `PathItem#flatten()`: argument has been changed from `tolerance` (maximum
|
||||||
|
allowed distance between points) to `flatness` (maximum allowed error) (#618).
|
||||||
- Update internal Acorn JavaScript parser to `0.5.0`, the last small version.
|
- Update internal Acorn JavaScript parser to `0.5.0`, the last small version.
|
||||||
- Transition to Gulp based build process.
|
- Transition to Gulp based build process.
|
||||||
- Update QUnit to `1.20.0`.
|
- Update QUnit to `1.20.0`.
|
||||||
|
@ -75,6 +77,8 @@ contribute to the code.
|
||||||
- `event.preventDefault()` is called by default after any handled mouse mouse
|
- `event.preventDefault()` is called by default after any handled mouse mouse
|
||||||
events, except `'mousemove'`, and only on a `'mousedown'` event if the view
|
events, except `'mousemove'`, and only on a `'mousedown'` event if the view
|
||||||
or tool respond to `'mouseup'`.
|
or tool respond to `'mouseup'`.
|
||||||
|
- Switch to the new HTML5 Page Visibility API when detecting invisible documents
|
||||||
|
and canvases.
|
||||||
- Rename `#windingRule` to `#fillRule` on `Item` and `Style`.
|
- Rename `#windingRule` to `#fillRule` on `Item` and `Style`.
|
||||||
- Do not replace existing named child reference on `Item#children` with new one
|
- Do not replace existing named child reference on `Item#children` with new one
|
||||||
when the name is identical.
|
when the name is identical.
|
||||||
|
@ -100,8 +104,6 @@ contribute to the code.
|
||||||
into the project and `deep` controls whether the item's children are cloned.
|
into the project and `deep` controls whether the item's children are cloned.
|
||||||
The previous boolean optional argument is still interpreted as the `insert`
|
The previous boolean optional argument is still interpreted as the `insert`
|
||||||
option (#941).
|
option (#941).
|
||||||
- `PathItem#flatten()`: argument has been changed from `tolerance` (maximum
|
|
||||||
allowed distance between points) to `flatness` (maximum allowed error) (#618).
|
|
||||||
- `Matrix` properties `#b` and `#c` have been reversed to match common standard.
|
- `Matrix` properties `#b` and `#c` have been reversed to match common standard.
|
||||||
- `#importSVG()`: improve handling of style inheritance for nested `<defs>`.
|
- `#importSVG()`: improve handling of style inheritance for nested `<defs>`.
|
||||||
- Move `PaperScript#execute()` URL argument into `options.url` (#902).
|
- Move `PaperScript#execute()` URL argument into `options.url` (#902).
|
||||||
|
@ -224,13 +226,15 @@ contribute to the code.
|
||||||
- Fix `event.delta` on mousedrag events (#981).
|
- Fix `event.delta` on mousedrag events (#981).
|
||||||
- Improve handling of XML attribute namespaces for IE's XMLSerializer() (#984).
|
- Improve handling of XML attribute namespaces for IE's XMLSerializer() (#984).
|
||||||
- Make sure `Item#removeChildren()` fully removes children (#991).
|
- Make sure `Item#removeChildren()` fully removes children (#991).
|
||||||
- Improve handling of `event#stopPropagation()` on `View` and `Item` (#995).
|
- Improve handling of event propagation on `View` and `Item` (#995).
|
||||||
- `#importSVG()`: Improve handling of viewBox.
|
- `#importSVG()`: Improve handling of viewBox.
|
||||||
- Make sure all named item lookup structures are kept in sync (#1009).
|
- Make sure all named item lookup structures are kept in sync (#1009).
|
||||||
- Convert absolute local gradient URLs to relative ones (#1001).
|
- Convert absolute local gradient URLs to relative ones (#1001).
|
||||||
- Fix TypeError in `Path#unite()` (#1000).
|
- Fix TypeError in `Path#unite()` (#1000).
|
||||||
- Allow the selection of a `Path` item's bounds without selecting the segments
|
- Allow the selection of a `Path` item's bounds without selecting the segments
|
||||||
(#769).
|
(#769).
|
||||||
|
- Fix wrong indices in `Item#insertChildren()`, when inserting children that
|
||||||
|
were previously inserted in the same parent (#1015).
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Canvas attributes "resize" and "data-paper-resize" no longer cause paper to
|
- Canvas attributes "resize" and "data-paper-resize" no longer cause paper to
|
||||||
|
|
Loading…
Reference in a new issue