mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
fix height
This commit is contained in:
parent
9f6341ee1e
commit
0c63d836c9
@ -684,7 +684,7 @@ class PlayerFragment : Fragment() {
|
||||
// Redraw myView
|
||||
(binding.mainContainer.layoutParams as ConstraintLayout.LayoutParams).apply {
|
||||
matchConstraintPercentHeight = (
|
||||
videoSize.height / videoSize.width * currentWidth
|
||||
videoSize.height / videoSize.width
|
||||
).toFloat()
|
||||
}
|
||||
binding.mainContainer.requestLayout()
|
||||
|
Loading…
x
Reference in New Issue
Block a user