Fixed redrawing of shadows when box size decreases.

This commit is contained in:
23rd 2019-04-06 08:57:00 +03:00 committed by John Preston
parent 4ad293e2ae
commit 3744bdcbe7
1 changed files with 1 additions and 0 deletions

View File

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