Skip to content

Commit

Permalink
Release Toggle track FX bypass by name v2.0 (#1383)
Browse files Browse the repository at this point in the history
Add an option to include input and monitoring effects [cfillion/reascripts#6]
Fix truncated labels by replacing the GetUserInputs prompt with a ReaImGui interface
  • Loading branch information
cfillion authored May 4, 2024
1 parent 240dcee commit 5547173
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ local function matchTrack(track, filter)
end

local function sanitizeFilename(name)
if #name < 1 then return '(any)' end
-- replace special characters that are reserved on Windows
return name:gsub("[*\\:<>?/|\"%c]+", '-')
end
Expand Down Expand Up @@ -159,7 +160,7 @@ local function loop()
if visible then
ImGui.Text(ctx, 'Toggle bypass of effects matching:')
if ImGui.IsWindowAppearing(ctx) then ImGui.SetKeyboardFocusHere(ctx) end
fx_filter = select(2, ImGui.InputText(ctx, 'FX name', fx_filter))
fx_filter = select(2, ImGui.InputText(ctx, 'Effect name', fx_filter))
ImGui.SameLine(ctx)
helpTooltip(ctx, 'Search is case-insensitive.')

Expand Down

0 comments on commit 5547173

Please sign in to comment.