Fix wrong alpha value in ass

This commit is contained in:
the1812 2019-01-26 16:02:00 +08:00
parent 3770fc0346
commit c850b30d35
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -284,7 +284,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
{
this.title = title;
this.font = font;
this.alpha = Math.round(alpha * 100);
this.alpha = Math.round(alpha * 100).toString(16).toUpperCase();
this.duration = duration;
this.blockTypes = blockTypes;
this.resolution = resolution;