mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix preview cant shown
Change-Id: I8732efa6a501b7d673df57aa57f621cf85ba46a7
This commit is contained in:
parent
32253abbc0
commit
e69ffc5ae5
Notes:
Deepin Code Review
2017-05-03 16:16:43 +08:00
Code-Review+2: 石博文 <sbw@sbw.so> Verified+1: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Wed, 03 May 2017 16:16:41 +0800 Reviewed-on: https://cr.deepin.io/22787 Project: dde/dde-dock Branch: refs/heads/master
@ -490,10 +490,11 @@ void AppItem::showPreview()
|
||||
|
||||
switch (DockPosition)
|
||||
{
|
||||
case Top: if (p.y() != r.top()) return;
|
||||
case Left: if (p.x() != r.left()) return;
|
||||
case Right: if (p.x() != r.right()) return;
|
||||
case Bottom: if (p.y() != r.bottom()) return;
|
||||
case Top: if (p.y() != r.top()) return; break;
|
||||
case Left: if (p.x() != r.left()) return; break;
|
||||
case Right: if (p.x() != r.right()) return; break;
|
||||
case Bottom: if (p.y() != r.bottom()) return; break;
|
||||
default: return;
|
||||
}
|
||||
|
||||
m_appPreviewTips->updateLayoutDirection(DockPosition);
|
||||
|
Loading…
x
Reference in New Issue
Block a user