From cd58ecd861dc981ed09bee2c5abb6e1d0f6c06db Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Fri, 3 Apr 2020 18:57:57 -0600 Subject: [PATCH] minor tweaks --- sys/modules/opus/ui/transition.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/modules/opus/ui/transition.lua b/sys/modules/opus/ui/transition.lua index 2f8e0d6..9311e21 100644 --- a/sys/modules/opus/ui/transition.lua +++ b/sys/modules/opus/ui/transition.lua @@ -3,8 +3,8 @@ local Tween = require('opus.ui.tween') local Transition = { } function Transition.slideLeft(args) - local ticks = args.ticks or 10 - local easing = args.easing or 'outQuint' + local ticks = args.ticks or 8 + local easing = args.easing or 'inCirc' local pos = { x = args.ex } local tween = Tween.new(ticks, pos, { x = args.x }, easing) @@ -19,8 +19,8 @@ function Transition.slideLeft(args) end function Transition.slideRight(args) - local ticks = args.ticks or 10 - local easing = args.easing or 'outQuint' + local ticks = args.ticks or 8 + local easing = args.easing or 'inCirc' local pos = { x = -args.canvas.width } local tween = Tween.new(ticks, pos, { x = 1 }, easing)