From 9fc87c3cb819377b9ff8139cab939880e0aca622 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 10 Sep 2019 05:56:20 +0300 Subject: [PATCH] Fix last message tail drawing in theme preview --- Telegram/SourceFiles/window/themes/window_theme_preview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/window/themes/window_theme_preview.cpp b/Telegram/SourceFiles/window/themes/window_theme_preview.cpp index c72fa7049..5d105824a 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_preview.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_preview.cpp @@ -398,6 +398,7 @@ void Generator::paintHistoryList() { _historyBottom = _history.y() + _history.height(); _historyBottom -= st::historyPaddingBottom; + _p->setClipping(true); for (auto i = _bubbles.size(); i != 0;) { auto &bubble = _bubbles[--i]; if (bubble.width > 0) {