mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix albums with wide captions.
This commit is contained in:
parent
c1b95afd88
commit
b7f165a259
2 changed files with 5 additions and 0 deletions
|
@ -801,6 +801,10 @@ QPoint GroupedMedia::resolveCustomInfoRightBottom() const {
|
|||
return QPoint(width() - skipx, height() - skipy);
|
||||
}
|
||||
|
||||
bool GroupedMedia::enforceBubbleWidth() const {
|
||||
return _mode == Mode::Grid;
|
||||
}
|
||||
|
||||
bool GroupedMedia::computeNeedBubble() const {
|
||||
Expects(_mode == Mode::Column || _captionItem.has_value());
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ public:
|
|||
bool customHighlight() const override {
|
||||
return true;
|
||||
}
|
||||
bool enforceBubbleWidth() const override;
|
||||
|
||||
void stopAnimation() override;
|
||||
void checkAnimation() override;
|
||||
|
|
Loading…
Add table
Reference in a new issue