Add example Lua script to set color transparency

This commit is contained in:
Daniel Appelt 2025-08-24 00:58:31 +02:00 committed by Edgar Aichinger
parent be1c6911a5
commit 3bd0bc775c

View file

@ -0,0 +1,7 @@
ardour { ["type"] = "Snippet", name = "Set color transparency" }
function factory () return function ()
-- See Ardour - Preferences -> Appearance -> Colors -> Transparency for modifier names
ArdourUI.config():set_modifier("editable region", "= alpha:0.7")
ArdourUI.config():set_modifier("ghost track midi fill", "= alpha:0.7")
end end