mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-24 13:32:06 +08:00
Fixed bug that drop overlay sometimes was not visible when moving the drag preview over a floating window
This bug was caused by accidentally using hide() instead of hideOverlay()
This commit is contained in:
parent
cdc863e962
commit
80aee638c9
@ -156,7 +156,7 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos)
|
|||||||
// would be removed and inserted at the same position
|
// would be removed and inserted at the same position
|
||||||
if (VisibleDockAreas <= 1)
|
if (VisibleDockAreas <= 1)
|
||||||
{
|
{
|
||||||
ContainerOverlay->hide();
|
ContainerOverlay->hideOverlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DockArea == ContentSourceArea && InvalidDockWidgetArea == ContainerDropArea)
|
if (DockArea == ContentSourceArea && InvalidDockWidgetArea == ContainerDropArea)
|
||||||
|
Loading…
Reference in New Issue
Block a user