1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 18:29:39 +02:00
Daniel Neto 2023-10-25 10:14:46 -03:00
parent b6d47e94c8
commit 65f15c7e46
2882 changed files with 382239 additions and 10785 deletions

View file

@ -615,12 +615,14 @@ function CueStyleBox(window, cue, styleOptions) {
var textPos = 0;
switch (cue.positionAlign) {
case "start":
case "line-left":
textPos = cue.position;
break;
case "center":
textPos = cue.position - (cue.size / 2);
break;
case "end":
case "line-right":
textPos = cue.position - cue.size;
break;
}