diff options
author | Teddy Wing | 2021-08-14 22:00:24 +0200 |
---|---|---|
committer | Teddy Wing | 2021-08-14 22:16:01 +0200 |
commit | 8a7cc75a035b58bcf12893132cc63e16f6069bff (patch) | |
tree | ac1866c8fb2b11f86e0d8e3e70c44087975aa1e7 /src/controls.ts | |
parent | e9423bc8c345add2c719a632ae911947bcc4f07f (diff) | |
download | netflix-immersive-8a7cc75a035b58bcf12893132cc63e16f6069bff.tar.bz2 |
Hide distractions when Seamless controls are added
Seamless controls can be added during the end credits of a series
episode. When those controls are added, the "Back to Browse" button
appears as well as the mouse cursor. A transparent promo background also
appears.
Hide the "Back to Browse" button and promo background in CSS.
Add a new `seamless` module to handle hiding the mouse cursor. Listen
for the addition of the `.SeamlessControls--container` element, which
means Seamless controls were activated. At this point, force the cursor
to be hidden. Show it again when the user moves the mouse.
Diffstat (limited to 'src/controls.ts')
0 files changed, 0 insertions, 0 deletions