mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00
fix: 修复任务栏在右侧智能隐藏失败
计算任务栏右侧位置的时候,x坐标设置错误导致窗口向右移动后,任务栏计算重合区域错误,将x坐标修改为正确的位置即可解决 Log: 修复任务栏在右侧智能隐藏失败的问题 Influence: 任务栏右侧智能隐藏,将窗口拖动到任务栏的右侧,观察任务栏是否隐藏 Bug: https://pms.uniontech.com/bug-view-154513.html Change-Id: Ia4357c60872acf502295d9339160339a33626bcc
This commit is contained in:
parent
cb96a7bab8
commit
480f621fbf
@ -375,7 +375,7 @@ QRect WindowManager::getDockGeometry(bool withoutScale) const
|
||||
y = windowRect.y();
|
||||
|
||||
if (i == 0) {
|
||||
y = windowRect.y();
|
||||
x = windowRect.x();
|
||||
width = windowRect.width();
|
||||
}
|
||||
height += windowRect.height() + mainWindow->dockSpace();
|
||||
|
Loading…
x
Reference in New Issue
Block a user