1
Fork 0
This commit is contained in:
stysmmaker 2021-04-13 22:43:05 -04:00
parent 0a8ccc129a
commit a324498e08
Signed by: mmaker
GPG Key ID: CCE79B8FEDA40FB2
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "mmkr", "name": "mmkr",
"version": "1.0.0", "version": "1.0.1",
"description": "MMaker's After Effects Expression Library", "description": "MMaker's After Effects Expression Library",
"main": "dist/mmkr.jsx", "main": "dist/mmkr.jsx",
"scripts": { "scripts": {

View File

@ -51,9 +51,9 @@ function get_functions(time: number = thisLayer.time)
} }
const YTPMV = { const YTPMV = {
flip: function(mult = 100, input_property = thisProperty) flip: function(input_property = thisProperty, mult = 100)
{ {
const n = get_key_index(input_property); const n = get_key_index(undefined, input_property);
return (n % 2 != 0 || n == 0) ? 1*mult : -mult; return (n % 2 != 0 || n == 0) ? 1*mult : -mult;
}, },