mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: dock hang when receive attention on fastion mode
Change-Id: Ic0c74a5faed52e15718a4c634c595c71e02b8602
This commit is contained in:
parent
d0c38bccc4
commit
1444fa4044
Notes:
gerrit
2018-03-19 07:12:56 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Mon, 19 Mar 2018 07:12:55 +0000 Reviewed-on: https://cr.deepin.io/32778 Project: dde/dde-dock Branch: refs/heads/master
@ -590,6 +590,10 @@ void AppItem::cancelAndHidePreview()
|
||||
|
||||
void AppItem::playSwingEffect()
|
||||
{
|
||||
// NOTE(sbw): return if animation view already playing
|
||||
if (m_swingEffectView->isVisible())
|
||||
return;
|
||||
|
||||
stopSwingEffect();
|
||||
if (!m_itemAnimation.timeLine())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user