mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Merge "bugfix: stop preview's animation when hide preview"
This commit is contained in:
commit
939c4acd93
@ -42,8 +42,10 @@ void PreviewFrame::hidePreview(int interval)
|
||||
{
|
||||
m_showTimer->stop();
|
||||
|
||||
if (interval <= 0)
|
||||
if (interval <= 0) {
|
||||
m_animation->stop();
|
||||
hide();
|
||||
}
|
||||
else
|
||||
m_hideTimer->start(interval);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user