Add example Lua script to set color transparency
This commit is contained in:
committed by
Robin Gareus
parent
7fa17f50da
commit
4b5a55546a
7
share/scripts/s_color_transparency.lua
Normal file
7
share/scripts/s_color_transparency.lua
Normal 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
|
||||
Reference in New Issue
Block a user