From 5653404889d75e1901920714907e7cd0eb4d9035 Mon Sep 17 00:00:00 2001 From: AZpercussion <70285853+AZpercussion@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:27:13 +0300 Subject: [PATCH] Update az_Fade tool (work on context of mouse, razor or time selection).lua --- ...ol (work on context of mouse, razor or time selection).lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Items Editing/az_Fade tool (work on context of mouse, razor or time selection).lua b/Items Editing/az_Fade tool (work on context of mouse, razor or time selection).lua index 19d2ffa1c..b30a746cb 100644 --- a/Items Editing/az_Fade tool (work on context of mouse, razor or time selection).lua +++ b/Items Editing/az_Fade tool (work on context of mouse, razor or time selection).lua @@ -1006,9 +1006,9 @@ end ----------------------- function MouseOverWhat(razorEdits) - if not reaper.APIExists("reaper.JS_Mouse_GetCursor") then + if not reaper.APIExists("JS_Mouse_GetCursor") then reaper.ShowMessageBox('Missing API!\nInstall js_ReaScriptAPI from ReaPack', 'Fade tool',0) - reaper.defer(function()end) + return end local currentcur = reaper.JS_Mouse_GetCursor() local fadeid = {105,184, 529}