Set minWidth to 10dp so that the popup player works (mostly) correctly
This commit is contained in:
parent
2a24532e1d
commit
a9b5ef3bd3
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ public final class SeekbarPreviewThumbnailHelper {
|
|||
// 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;
|
||||
|
|
Loading…
Reference in a new issue