mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix position error
Change-Id: I2905609367b93342cb2a4feeb24087739b05717b
This commit is contained in:
parent
61eb74dd48
commit
f15ddf008a
@ -33,6 +33,7 @@ DockSettings::DockSettings(QObject *parent)
|
|||||||
m_displayMode = Dock::DisplayMode(m_dockInter->displayMode());
|
m_displayMode = Dock::DisplayMode(m_dockInter->displayMode());
|
||||||
m_iconSize = m_dockInter->iconSize();
|
m_iconSize = m_dockInter->iconSize();
|
||||||
AppItem::setIconBaseSize(m_iconSize);
|
AppItem::setIconBaseSize(m_iconSize);
|
||||||
|
DockItem::setDockPosition(m_position);
|
||||||
|
|
||||||
m_fashionModeAct.setCheckable(true);
|
m_fashionModeAct.setCheckable(true);
|
||||||
m_efficientModeAct.setCheckable(true);
|
m_efficientModeAct.setCheckable(true);
|
||||||
|
@ -103,6 +103,8 @@ void MainWindow::updateGeometry()
|
|||||||
default:
|
default:
|
||||||
Q_ASSERT(false);
|
Q_ASSERT(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_mainPanel->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::clearStrutPartial()
|
void MainWindow::clearStrutPartial()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user