From c681569349011c0e2f9ccdb51e5ab42e0fec6d8c Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 1 Jun 2024 10:53:00 +0400 Subject: [PATCH] Fix info display in video with caption above. --- Telegram/SourceFiles/history/view/media/history_view_gif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 4ae4da8923..4c8713685b 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -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) {