From 3744bdcbe766b3594a6d36a4e972bd14107395a1 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 6 Apr 2019 08:57:00 +0300 Subject: [PATCH] Fixed redrawing of shadows when box size decreases. --- Telegram/SourceFiles/boxes/abstract_box.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/boxes/abstract_box.cpp b/Telegram/SourceFiles/boxes/abstract_box.cpp index 24992aa38..19bcc6ab1 100644 --- a/Telegram/SourceFiles/boxes/abstract_box.cpp +++ b/Telegram/SourceFiles/boxes/abstract_box.cpp @@ -456,6 +456,7 @@ void AbstractBox::setDimensions(int newWidth, int maxHeight, bool forceCenterPos : std::max(top1, top2); if (newTop != newGeometry.top()) { move(newGeometry.left(), newTop); + resizeEvent(0); } } parentWidget()->update(oldGeometry.united(geometry()).marginsAdded(st::boxRoundShadow.extend));