Releases: motiondeveloper/aefunctions
Add `addLineBreaks` function
- Exported
addLineBreaks
function
This is a simplified version of breakWithoutOrphans
that simply adds line breaks to keep lines below a maxCharacters
. Useful if you don't need to worry about short lines.
- Removed comments from the output file
While handy, they added a lot to the length of the output file, which increases the time it takes to parse in AE, slowing things down. Since you can read the comments in the source code, I think the tradeoff is worth it.
- Remove built file from git
Having the build file commited makes commits and versioning complicated, it really shouldn't be tracked.
Bug fixes
Fix a bug where the library won't load on macOS due to incompatible syntax (nullish coalescing ??
and optional chaining ?.
).
Also updated deps and fixed an error in layerRect
where the anchor was hard-coded in.
Fix: layerRect position
-
fix: get correct anchor if on current layer
-
fix: get correct autoleading value
-
improve layerRect errors
-
feat: improve errors
-
ver bump
Descenderles by default
-
feat: (layerRect) default to descenderless size
layerRect()
now gets the descenderless size if a text layer is given.
It gets it from the font properties, sohideDescenders()
is obsolete. -
ver bump
add offsetFromAnchor function
1.7.0 add `offsetFromAnchor`
Add `maintainScale()`
Added the maintainScale()
function, that will maintain a consistant scale independant of the parent layer.
Update types
1.5.0 update types
update to rollup-config-ae-jsx v2
1.4.0 Add destructuring note
Add version
Add version from package.json
Get time from `getFunctions`
1.3.0 Add destructuring note