@lee-jisoo/n8n-nodes-mediafx 1.6.9 → 1.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,16 +98,17 @@ function isASSFile(filePath) {
98
98
  */
99
99
  function convertSRTtoASS(srtContent, fontName, fontSize, primaryColor, outlineColor, outlineWidth, backColor, enableBackground, alignment, marginV, marginL, marginR, videoWidth, videoHeight) {
100
100
  // BorderStyle=3 enables opaque box mode where BackColour determines the box color
101
- // BorderStyle=1 is normal outline mode
101
+ // IMPORTANT: When BorderStyle=3, Outline MUST be 0, otherwise it overrides BackColour transparency
102
+ // Shadow must be 1 for the background box to display properly
102
103
  let borderStyle;
103
104
  let outline;
104
105
  let shadow;
105
106
  let effectiveOutlineColor;
106
107
  if (enableBackground) {
107
108
  borderStyle = 3; // Opaque box mode - BackColour becomes the box background
108
- outline = 0; // No outline needed in box mode
109
- shadow = 0;
110
- effectiveOutlineColor = backColor; // Match outline to background for clean look
109
+ outline = 0; // MUST be 0, non-zero overrides BackColour
110
+ shadow = 1; // MUST be 1 for box to display
111
+ effectiveOutlineColor = backColor;
111
112
  }
112
113
  else {
113
114
  borderStyle = 1; // Normal outline mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lee-jisoo/n8n-nodes-mediafx",
3
- "version": "1.6.9",
3
+ "version": "1.6.10",
4
4
  "description": "N8N custom nodes for video editing and media processing (Enhanced fork with Speed control and Subtitle fixes)",
5
5
  "license": "MIT",
6
6
  "author": {