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) {