From a324498e08aa29a5c71045706ae4b7726f73d949 Mon Sep 17 00:00:00 2001 From: stysmmaker Date: Tue, 13 Apr 2021 22:43:05 -0400 Subject: [PATCH] Oops --- package.json | 2 +- src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5d27047..26060de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmkr", - "version": "1.0.0", + "version": "1.0.1", "description": "MMaker's After Effects Expression Library", "main": "dist/mmkr.jsx", "scripts": { diff --git a/src/index.ts b/src/index.ts index 8e56e5e..abc73a1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -51,9 +51,9 @@ function get_functions(time: number = thisLayer.time) } 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; },