mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Add example Lua script to set color transparency
This commit is contained in:
parent
be1c6911a5
commit
3bd0bc775c
1 changed files with 7 additions and 0 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue