mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Show nice padded code blocks.
This commit is contained in:
@@ -346,6 +346,8 @@ Photo::Photo(
|
||||
}
|
||||
}
|
||||
|
||||
Photo::~Photo() = default;
|
||||
|
||||
void Photo::initDimensions() {
|
||||
_maxw = 2 * st::overviewPhotoMinSize;
|
||||
_minh = _story ? qRound(_maxw * kStoryRatio) : _maxw;
|
||||
|
Reference in New Issue
Block a user