mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fixed:window size change to set dock height
调整任务栏高度后会遮挡桌面图标
This commit is contained in:
parent
022cf7e8fe
commit
b3114922bb
@ -806,10 +806,10 @@ void MainWindow::resetPanelEnvironment(const bool visible, const bool resetPosit
|
||||
return;
|
||||
|
||||
resizeMainPanelWindow();
|
||||
m_size = m_settings->m_mainWindowSize;
|
||||
|
||||
if (!resetPosition)
|
||||
return;
|
||||
if (m_size != m_settings->m_mainWindowSize) {
|
||||
m_size = m_settings->m_mainWindowSize;
|
||||
setStrutPartial();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::updatePanelVisible()
|
||||
|
Loading…
x
Reference in New Issue
Block a user