mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix albums with wide captions.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user