Skip to content

Commit

Permalink
fix color error
Browse files Browse the repository at this point in the history
fix #92
  • Loading branch information
spessasus committed Dec 26, 2024
1 parent 777567b commit dc78285
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/website/js/utils/ass_manager/dialogue_event.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export class DialogueEvent
// StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle,
// Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
// font color
this.element.style.color = this.styleData["PrimaryColour"];
this.element.style.color = this.secondaryColor;
this.element.style.zIndex = (this.layer + 99999).toString();
// font family and size
const fontFamily = `${this.styleData["Fontname"]}, "${embeddedFontName}", sans-serif`;
Expand Down
2 changes: 1 addition & 1 deletion src/website/minified/demo_main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dc78285

Please sign in to comment.