Skip to content

Commit

Permalink
Merge branch 'yshui:next' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
pijulius authored Aug 9, 2024
2 parents 585d86b + 9918c89 commit d1d9d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_libconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void generate_fading_config(struct options *opt) {
opt->fade_in_step, opt->fade_delta);
}

duration = 1.0 / opt->fade_out_step * opt->fade_delta;
duration = 1.0 / opt->fade_out_step * opt->fade_delta / 1000.0;
if (!safe_isinf(duration) && !safe_isnan(duration) && duration > 0) {
scoped_charp duration_str = NULL;
dtostr(duration, &duration_str);
Expand Down

0 comments on commit d1d9d59

Please sign in to comment.