mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +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;
|
||||
|
@@ -195,6 +195,7 @@ public:
|
||||
not_null<HistoryItem*> parent,
|
||||
not_null<PhotoData*> photo,
|
||||
MediaOptions options);
|
||||
~Photo();
|
||||
|
||||
void initDimensions() override;
|
||||
int32 resizeGetHeight(int32 width) override;
|
||||
|
Reference in New Issue
Block a user