aboutsummaryrefslogtreecommitdiffstats
path: root/blur-fade.lua
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2021-04-06 04:48:15 +0100
committergarret <garret@airmail.cc>2021-04-06 04:48:15 +0100
commit3bee721ee8f315a2fb41b32bc8ba83147af35290 (patch)
treee89f37443015b14989188c9b3d0db07eabc08505 /blur-fade.lua
parent4fe7dc1f06eaee50de66cfa06d295afa4f9c0130 (diff)
downloadaegisub-scripts-3bee721ee8f315a2fb41b32bc8ba83147af35290.tar.gz
aegisub-scripts-3bee721ee8f315a2fb41b32bc8ba83147af35290.tar.bz2
aegisub-scripts-3bee721ee8f315a2fb41b32bc8ba83147af35290.zip
[blur fade] adds undo point
Diffstat (limited to 'blur-fade.lua')
-rw-r--r--blur-fade.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/blur-fade.lua b/blur-fade.lua
index 9f60077..44ac316 100644
--- a/blur-fade.lua
+++ b/blur-fade.lua
@@ -1,7 +1,7 @@
script_name="Blur Fade"
script_description="Makes fade with blur."
script_author="garret"
-script_version="2021-04-05"
+script_version="2021-04-06"
include("utils.lua")
-- TODO: add proper fade as well
@@ -40,5 +40,6 @@ function main(sub, sel) -- TODO: make code less shit
make_lines(sub, sel, i, "{\\bord0\\shad0\\t(\\blur100)}", "{\\t(\\blur100)\\1a&FF&\\3a&FF&\\shad0.01}", "{\\shad1.5\\1aFF\\bord0\\t(\\blur100)}")
end
end
+ aegisub.set_undo_point(script_name)
end
aegisub.register_macro(script_name, script_description, main)