Skip to content

Commit 59b4526

Browse files
authored
Update FadeOut.OBS.FX.ps1
Added the ability to fade out
1 parent 9073d9b commit 59b4526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Effects/FadeOut.OBS.FX.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $StepCount = [Math]::Ceiling($Duration.TotalMilliseconds / ([timespan]::fromSeco
2929

3030
$stepSleep = $Duration.TotalMilliseconds / $StepCount
3131

32-
$opacity = 100
32+
$opacity = 1
3333
$stepOpacity = [double]1/$StepCount
3434
@(foreach ($stepNum in 1..$StepCount) {
3535
$opacity -= $stepOpacity

0 commit comments

Comments
 (0)