2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Update window shadow size on window state change

This commit is contained in:
Ilya Fedin
2020-08-28 19:43:23 +04:00
committed by John Preston
parent 78a2835bbf
commit 612e0d4a10
2 changed files with 3 additions and 0 deletions

View File

@@ -254,6 +254,8 @@ void MainWindow::init() {
void MainWindow::handleStateChanged(Qt::WindowState state) {
stateChangedHook(state);
updateShadowSize();
updateControlsGeometry();
if (state == Qt::WindowMinimized) {
controller().updateIsActiveBlur();
} else {