Fix info display in video with caption above.

This commit is contained in:
John Preston 2024-06-01 10:53:00 +04:00
parent bb43afdd93
commit c681569349

View file

@ -759,7 +759,7 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
}
}
}
if (!unwrapped && bubble) {
if (!unwrapped && bubble && !isBubbleBottom()) {
p.setPen(stm->historyTextFg);
auto top = painty + painth + st::mediaCaptionSkip;
if (botTop) {