* speed up the filterwheel and songwheel transitions to normal speed
This commit is contained in:
parent
900e368a91
commit
1c68d2a07d
|
@ -227,13 +227,13 @@ function tickTransitions(deltaTime)
|
||||||
-- ENTRY TRANSITION
|
-- ENTRY TRANSITION
|
||||||
if transitionEnterReverse then
|
if transitionEnterReverse then
|
||||||
if transitionEnterScale > 0 then
|
if transitionEnterScale > 0 then
|
||||||
transitionEnterScale = transitionEnterScale - deltaTime / 15 -- transition should last for that time in seconds
|
transitionEnterScale = transitionEnterScale - deltaTime / 0.5 -- transition should last for that time in seconds
|
||||||
else
|
else
|
||||||
transitionEnterScale = 0
|
transitionEnterScale = 0
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if transitionEnterScale < 1 then
|
if transitionEnterScale < 1 then
|
||||||
transitionEnterScale = transitionEnterScale + deltaTime / 15 -- transition should last for that time in seconds
|
transitionEnterScale = transitionEnterScale + deltaTime / 0.5 -- transition should last for that time in seconds
|
||||||
else
|
else
|
||||||
transitionEnterScale = 1
|
transitionEnterScale = 1
|
||||||
end
|
end
|
||||||
|
|
|
@ -523,13 +523,13 @@ function tickTransitions(deltaTime)
|
||||||
-- Leave transition
|
-- Leave transition
|
||||||
if (transitionLeaveReverse) then
|
if (transitionLeaveReverse) then
|
||||||
if transitionLeaveScale > 0 then
|
if transitionLeaveScale > 0 then
|
||||||
transitionLeaveScale = transitionLeaveScale - deltaTime / 15 -- transition should last for that time in seconds
|
transitionLeaveScale = transitionLeaveScale - deltaTime / 0.5 -- transition should last for that time in seconds
|
||||||
else
|
else
|
||||||
transitionLeaveScale = 0
|
transitionLeaveScale = 0
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if transitionLeaveScale < 1 then
|
if transitionLeaveScale < 1 then
|
||||||
transitionLeaveScale = transitionLeaveScale + deltaTime / 15 -- transition should last for that time in seconds
|
transitionLeaveScale = transitionLeaveScale + deltaTime / 0.5 -- transition should last for that time in seconds
|
||||||
else
|
else
|
||||||
transitionLeaveScale = 1
|
transitionLeaveScale = 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue