Set minWidth to 10dp so that the popup player works (mostly) correctly

pull/6434/head
litetex 2021-06-19 14:26:40 +02:00
rodzic 2a24532e1d
commit a9b5ef3bd3
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -89,8 +89,8 @@ public final class SeekbarPreviewThumbnailHelper {
// Scaling more than that factor looks really pixelated -> max // Scaling more than that factor looks really pixelated -> max
Math.round(srcWidth * 2.5f) Math.round(srcWidth * 2.5f)
), ),
// Min width = 80dp // Min width = 10dp
DeviceUtils.dpToPx(80, context) DeviceUtils.dpToPx(10, context)
); );
final float scaleFactor = (float) newWidth / srcWidth; final float scaleFactor = (float) newWidth / srcWidth;