Merge branch 'fanpengcheng/uos_task27467' into 'uos'

fix: 修复无特效模式下切换任务栏方位导致的界面显示异常问题

See merge request dde-v20/dde-dock!634
This commit is contained in:
范朋程 2020-06-20 01:04:48 +08:00
commit cd6d6168ff

View File

@ -542,9 +542,11 @@ void MainWindow::positionChanged()
// paly hide animation and disable other animation
qDebug() << "start positionChange:" << frameGeometry();
clearStrutPartial();
narrow();
// 需要在narrow之前执行保证动画结束后能后更新界面布局的方向
connect(m_panelHideAni, &QVariantAnimation::finished, this, &MainWindow::newPositionExpand);
narrow();
}
void MainWindow::updatePosition()