mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
attempt to fix captions visibility issue
some users need to enable hardware acceleration for the to show
This commit is contained in:
parent
4976d38830
commit
dcbf21f3f9
1 changed files with 2 additions and 1 deletions
|
|
@ -167,11 +167,12 @@ export function SubtitleView(props: { controlsShown: boolean }) {
|
|||
return (
|
||||
<Transition animation="slide-up" show>
|
||||
<div
|
||||
className="text-white absolute w-full flex flex-col items-center transition-[bottom]"
|
||||
className="pointer-events-none z-50 text-white absolute w-full flex flex-col items-center transition-[bottom]"
|
||||
style={{
|
||||
bottom: props.controlsShown
|
||||
? "6rem"
|
||||
: `${styling.verticalPosition}rem`,
|
||||
transform: "translateZ(0)",
|
||||
}}
|
||||
>
|
||||
<SubtitleRenderer />
|
||||
|
|
|
|||
Loading…
Reference in a new issue