Skip to content

Releases: motiondeveloper/aefunctions

Add `addLineBreaks` function

10 May 01:05
Compare
Choose a tag to compare
  • 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

07 May 07:18
Compare
Choose a tag to compare

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

10 Mar 00:36
Compare
Choose a tag to compare
  • fix: get correct anchor if on current layer

  • fix: get correct autoleading value

  • improve layerRect errors

  • feat: improve errors

  • ver bump

Descenderles by default

18 Feb 07:51
Compare
Choose a tag to compare
  • 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, so hideDescenders() is obsolete.

  • ver bump

add offsetFromAnchor function

25 Jan 06:08
Compare
Choose a tag to compare
1.7.0

add `offsetFromAnchor`

Add `maintainScale()`

02 Dec 03:10
Compare
Choose a tag to compare

Added the maintainScale() function, that will maintain a consistant scale independant of the parent layer.

Update types

25 Sep 23:13
Compare
Choose a tag to compare
1.5.0

update types

update to rollup-config-ae-jsx v2

24 Sep 03:49
Compare
Choose a tag to compare
1.4.0

Add destructuring note

Add version

22 Sep 02:11
Compare
Choose a tag to compare

Add version from package.json

Get time from `getFunctions`

18 Sep 11:02
Compare
Choose a tag to compare
1.3.0

Add destructuring note