Fix last message tail drawing in theme preview

This commit is contained in:
RadRussianRus 2019-09-10 05:56:20 +03:00 committed by John Preston
parent 0d9c30423f
commit 9fc87c3cb8
1 changed files with 1 additions and 0 deletions

View File

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