mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: can not hover preview after drag
This commit is contained in:
parent
f4d6ba1076
commit
64aa65a5f0
@ -116,8 +116,9 @@ void PreviewContainer::checkMouseLeave()
|
||||
emit requestActivateWindow(m_floatingPreview->trackedWid());
|
||||
} else {
|
||||
emit requestCancelPreviewWindow();
|
||||
emit requestHidePopup();
|
||||
}
|
||||
|
||||
emit requestHidePopup();
|
||||
}
|
||||
|
||||
void PreviewContainer::prepareHide()
|
||||
@ -204,7 +205,7 @@ void PreviewContainer::dragLeaveEvent(QDragLeaveEvent *e)
|
||||
e->ignore();
|
||||
|
||||
m_needActivate = true;
|
||||
m_mouseLeaveTimer->start(10);
|
||||
m_mouseLeaveTimer->start();
|
||||
}
|
||||
|
||||
void PreviewContainer::onSnapshotClicked(const WId wid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user