Skip to content

Commit

Permalink
Merge pull request remotion-dev#504 from Zayco/fix-touch-playerControls
Browse files Browse the repository at this point in the history
Improve UX for touch devices
  • Loading branch information
JonnyBurger committed Jul 13, 2021
2 parents 74ac8d8 + 3b7e2fa commit 47ee52b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/player/src/MediaVolumeSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const parentDivStyle: React.CSSProperties = {
padding: '6px',
justifyContent: 'center',
alignItems: 'center',
touchAction: 'none',
};

const containerStyle: React.CSSProperties = {
Expand Down
1 change: 1 addition & 0 deletions packages/player/src/PlayerSeekBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const containerStyle: React.CSSProperties = {
boxSizing: 'border-box',
cursor: 'pointer',
position: 'relative',
touchAction: 'none',
};

const barBackground: React.CSSProperties = {
Expand Down

0 comments on commit 47ee52b

Please sign in to comment.