Skip to content

Commit

Permalink
Set minWidth to 10dp so that the popup player works (mostly) correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Jul 6, 2021
1 parent 828f151 commit 809ca4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public static void tryResizeAndSetSeekbarPreviewThumbnail(
// Scaling more than that factor looks really pixelated -> max
Math.round(srcWidth * 2.5f)
),
// Min width = 80dp
DeviceUtils.dpToPx(80, context)
// Min width = 10dp
DeviceUtils.dpToPx(10, context)
);

final float scaleFactor = (float) newWidth / srcWidth;
Expand Down

0 comments on commit 809ca4c

Please sign in to comment.