tweak media player seeker top position in fullscreen mode

This commit is contained in:
Akinwale Ariwodola committed 2019-08-15 09:58:43 +01:00
1 parent acf0095be9
commit df05825763
2 files changed
+12 -2

No files matched your search

+6 -1
View File
@@ -482,7 +482,12 @@ class MediaPlayer extends React.PureComponent {
]}
{...this.seekResponder.panHandlers}
>
<View style={this.state.seeking ? mediaPlayerStyle.bigSeekerCircle : mediaPlayerStyle.seekerCircle} />
<View
style={[
this.state.seeking ? mediaPlayerStyle.bigSeekerCircle : mediaPlayerStyle.seekerCircle,
this.state.fullscreenMode ? mediaPlayerStyle.seekerCircleTopFs : mediaPlayerStyle.seekerCircleTop,
]}
/>
</View>
<TouchableOpacity
style={[
+6 -1
View File
@@ -96,12 +96,17 @@ const mediaPlayerStyle = StyleSheet.create({
seekerCircle: {
borderRadius: 12,
position: 'relative',
top: 14,
left: 15,
height: 12,
width: 12,
backgroundColor: Colors.LbryGreen,
},
seekerCircleTop: {
top: 14,
},
seekerCircleTopFs: {
top: 15,
},
seekerHandle: {
backgroundColor: 'transparent',
position: 'absolute',