2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Hide member rows with active small videos.

This commit is contained in:
John Preston
2021-05-30 17:51:04 +04:00
parent 8a693bc932
commit 38506d27a1
14 changed files with 359 additions and 85 deletions

View File

@@ -446,7 +446,7 @@ void Panel::refreshIncomingGeometry() {
to,
Qt::KeepAspectRatioByExpanding);
// If we cut out no more than 0.33 of the original, let's use expanding.
// If we cut out no more than 0.25 of the original, let's use expanding.
const auto use = ((big.width() * 3 <= to.width() * 4)
&& (big.height() * 3 <= to.height() * 4))
? big