mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat(dock): correct positon of the mainwindow always display error
This commit is contained in:
parent
afc4e33016
commit
9313cd04fa
@ -679,9 +679,6 @@ void MainWindow::expand()
|
||||
break;
|
||||
}
|
||||
|
||||
if (finishPos == pos())
|
||||
return;
|
||||
|
||||
m_panelShowAni->setStartValue(startPos);
|
||||
m_panelShowAni->setEndValue(finishPos);
|
||||
m_panelShowAni->start();
|
||||
@ -921,6 +918,7 @@ void MainWindow::resizeMainWindow()
|
||||
resizeMainPanelWindow();
|
||||
internalMove(windowRect.topLeft());
|
||||
QWidget::setFixedSize(size);
|
||||
m_panelShowAni->setEndValue(pos());
|
||||
}
|
||||
|
||||
void MainWindow::resizeMainPanelWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user