mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-20 23:27:23 +00:00
Fixed redrawing of shadows when box size decreases.
This commit is contained in:
parent
4ad293e2ae
commit
3744bdcbe7
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user