Skip to content

Commit a13242e

Browse files
authored
Merge pull request #2 from saurabhv749/fix/aspect-ratio-button
fix: control visibility
2 parents 1881c51 + 69f2903 commit a13242e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/com/brouken/player/PlayerActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,15 @@ public void onScrubStop(TimeBar timeBar, long position, boolean canceled) {
462462
buttonZoomIn.setImageResource(R.drawable.baseline_zoom_in_24);
463463
buttonZoomIn.setOnClickListener(v -> {
464464
scale(true);
465+
resetHideCallbacks();
465466
});
466467

467468
final ImageButton buttonZoomOut = new ImageButton(this, null, 0, R.style.ExoStyledControls_Button_Bottom);
468469
buttonZoomOut.setContentDescription(getString(R.string.video_zoom_out));
469470
buttonZoomOut.setImageResource(R.drawable.baseline_zoom_out_24);
470471
buttonZoomOut.setOnClickListener(v -> {
471472
scale(false);
473+
resetHideCallbacks();
472474
});
473475

474476
if (isTvBox && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {

0 commit comments

Comments
 (0)