mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Merge branch 'fanpengcheng/uos_task27467' into 'uos'
fix: 修复无特效模式下切换任务栏方位导致的界面显示异常问题 See merge request dde-v20/dde-dock!634
This commit is contained in:
commit
cd6d6168ff
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user