mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat(dock): the dock size will be change to default value when change
the mode
This commit is contained in:
parent
2379ce6397
commit
d77226cb6d
@ -492,6 +492,7 @@ void DockSettings::onFashionTraySizeChanged(const QSize &traySize)
|
|||||||
|
|
||||||
void DockSettings::calculateWindowConfig()
|
void DockSettings::calculateWindowConfig()
|
||||||
{
|
{
|
||||||
|
m_dockWindowSize = m_dockInter->windowSize();
|
||||||
if (m_dockWindowSize == 0) {
|
if (m_dockWindowSize == 0) {
|
||||||
if (m_displayMode == Dock::Efficient)
|
if (m_displayMode == Dock::Efficient)
|
||||||
m_dockWindowSize = EffICIENT_DEFAULT_HEIGHT;
|
m_dockWindowSize = EffICIENT_DEFAULT_HEIGHT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user