Skip to content

Commit c0ffa4e

Browse files
committed
YouTube: Ensure correct height for custom player buttons
1 parent 5ddc4f2 commit c0ffa4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/io/github/chsbuffer/revancedxposed/youtube/misc/playercontrols/PlayerControlsPatch.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ fun YoutubeHook.PlayerControls() {
131131
// put this button to the left
132132
leftButton.x = rightButton.x - leftButton.width
133133
leftButton.y = rightButton.y
134+
leftButton.layoutParams = rightButton.layoutParams.apply {
135+
width = leftButton.width
136+
}
134137
rightButton = leftButton
135138
}
136139
}

0 commit comments

Comments
 (0)