Skip to content

Commit

Permalink
Merge pull request #367 from lispking/master
Browse files Browse the repository at this point in the history
feat: make subtitle good clean
  • Loading branch information
drawcall committed Jun 10, 2023
2 parents af56dcd + 7f3053b commit 5b254a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node/subtitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ class FFSubtitle extends FFNode {

setDefaultStyle() {
const padding = 10;
const { color = '#ffffff', backgroundColor = '#00219c' } = this.conf;
this.setStyle({ color, padding, backgroundColor, alpha: 0 });
const { color = '#ffffff', stroke = '#000000', strokeThickness = 3 } = this.conf;
this.setStyle({ color, padding, alpha: 0, stroke: stroke, strokeThickness: strokeThickness });
}

async preProcessing() {
Expand Down

0 comments on commit 5b254a8

Please sign in to comment.