changes player's min height to match the gradients on controllers.
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ fun VideoPlayerActiveMutex(
|
||||
|
||||
val videoModifier =
|
||||
remember(controller) {
|
||||
Modifier.fillMaxWidth().heightIn(min = 100.dp).onVisiblePositionChanges(view) { bounds, distanceToCenter ->
|
||||
Modifier.fillMaxWidth().heightIn(min = 120.dp).onVisiblePositionChanges(view) { bounds, distanceToCenter ->
|
||||
controller.visibility.bounds = bounds
|
||||
controller.visibility.distanceToCenter = distanceToCenter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user