Skip to content

Commit

Permalink
Fixed wrong media bubble height.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsan31 committed Jun 10, 2024
1 parent 64bcba7 commit 03dc6b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ QImage PrepareWithBlurredBackground(
QSize CountDesiredMediaSize(QSize original) {
return DownscaledSize(
style::ConvertScale(original),
{ style::ConvertScale(original.width()), st::maxMediaSize });
{ st::maxMediaSize, st::maxMediaSize });
}

QSize CountMediaSize(QSize desired, int newWidth) {
Expand Down

0 comments on commit 03dc6b2

Please sign in to comment.