Skip to content

Release Fade tool (works on context of mouse, razor or time selection) v2.2.6 #1552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- @description Fade tool (works on context of mouse, razor or time selection)
-- @author AZ
-- @version 2.2.5
-- @changelog - Fixed stupid bug with Hello message, that is trouble for new users
-- @version 2.2.6
-- @changelog - Fixed bug with edit cursor positioning when move envelope point in stretched items
-- @provides
-- az_Fade tool (work on context of mouse, razor or time selection)/az_Options window for az_Fade tool.lua
-- [main] az_Fade tool (work on context of mouse, razor or time selection)/az_Open options for az_Fade tool.lua
Expand Down Expand Up @@ -60,7 +60,7 @@ end
-------------------------

ExtStateName = 'AZ_FadeTool'
CurVers = 2.25
CurVers = 2.26

SaveLastBatchPrj = reaper.GetExtState(ExtStateName, 'SaveLastBatchPrj')
if SaveLastBatchPrj == 'false' then SaveLastBatchPrj = false
Expand Down Expand Up @@ -2332,7 +2332,7 @@ function MovePoint(env, time, item, pointPos)
UndoString = 'FadeTool - create point'
end

return (timeSnap + itemPos)/takeRate
return timeSnap/takeRate + itemPos
end

-----------------------------------------
Expand Down