Created option to add transition between comments

Created an option to add a transition (fadein and fadeout) between the images of comments. It makes videos look much more pleasant.
This commit is contained in:
RiveN000 committed 2022-07-19 18:31:53 +02:00
1 parent 03fae9e4a9
commit 3e084cd8bc
2 files changed
+8 -1

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ theme = { optional = false, default = "dark", example = "light", options = ["dar
], explanation = "sets the Reddit theme, either LIGHT or DARK" }
times_to_run = { optional = false, default = 1, example = 2, explanation = "used if you want to run multiple times. set to an int e.g. 4 or 29 or 1", type = "int", nmin = 1, oob_error = "It's very hard to run something less than once." }
opacity = { optional = false, default = 0.9, example = 0.8, explanation = "Sets the opacity of the comments when overlayed over the background", type = "float", nmin = 0, nmax = 1, oob_error = "The opacity HAS to be between 0 and 1", input_error = "The opacity HAS to be a decimal number between 0 and 1" }
transition = { optional = true, default = 0.2, example = 0.2, explanation = "Sets the transition time (in seconds) between the comments. Set to 0 if you want to disable it.", type = "float", nmin = 0, nmax = 2, oob_error = "The transition HAS to be between 0 and 2", input_error = "The opacity HAS to be a decimal number between 0 and 2" }
storymode = { optional = true, type = "bool", default = false, example = false, options = [true,
false,
], explanation = "not yet implemented" }