Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
bfdc3bb
1
Parent(s):
5e1150d
up
Browse files
src/bug-in-bun/aitube_ffmpeg/overlay/addTextToVideo.ts
CHANGED
@@ -23,8 +23,8 @@ export async function addTextToVideo({
|
|
23 |
fontSize: 4,
|
24 |
horizontalPosition: "center",
|
25 |
verticalPosition: "end",
|
26 |
-
px:
|
27 |
-
py:
|
28 |
width,
|
29 |
height,
|
30 |
})
|
|
|
23 |
fontSize: 4,
|
24 |
horizontalPosition: "center",
|
25 |
verticalPosition: "end",
|
26 |
+
px: 0,
|
27 |
+
py: 0,
|
28 |
width,
|
29 |
height,
|
30 |
})
|
src/bug-in-bun/aitube_ffmpeg/overlay/getCssStyle.ts
CHANGED
@@ -93,10 +93,10 @@ export function getCssStyle({
|
|
93 |
|
94 |
*/
|
95 |
text-shadow:
|
96 |
-
${0.
|
97 |
-
-${0.
|
98 |
-
-${0.
|
99 |
-
${0.
|
100 |
}
|
101 |
|
102 |
.outline {
|
|
|
93 |
|
94 |
*/
|
95 |
text-shadow:
|
96 |
+
${0.16}vh ${0.16}vh ${0.13}vh #000,
|
97 |
+
-${0.16}vh ${0.16}vh ${0.13}vh #000,
|
98 |
+
-${0.16}vh -${0.16}vh 0 #000,
|
99 |
+
${0.16}vh -${0.16}vh 0 #000;
|
100 |
}
|
101 |
|
102 |
.outline {
|