Skip to content

Commit

Permalink
nx: fix visibility of cursor on video
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Nov 2, 2023
1 parent 7b3119c commit 183de24
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/styles/native.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ html.native {
}

body.viewer-fully-opened.viewer-video {
// Hide main content
// Hide main content when playing a video,
// so we can pass through to the native video player.
// The photoswipe element is outside the main content,
// so the controls will still be visible.
#app-content-vue {
// scroller cursors have transitions on visibility
// so we also need to set opacity to 0
visibility: hidden;
opacity: 0;
}

// Hide the background to be transparent for ExoPlayer
Expand Down

0 comments on commit 183de24

Please sign in to comment.