Skip to content

Commit

Permalink
#241 Be even more aggressive.
Browse files Browse the repository at this point in the history
Signed-off-by: cneben <[email protected]>
  • Loading branch information
cneben committed Aug 21, 2024
1 parent e5aa0b5 commit 0eef270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qanDraggableCtrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void DraggableCtrl::beginDragMove(const QPointF& sceneDragPos, bool dragSelec
_initialSceneDragPos = sceneDragPos;
if (!_target->isGroup()) {
_initialTargetZ = _targetItem->z(); // 20240821: Force maximum graph z when dragging a node (not a group), restored
_targetItem->setZ(graph->getMaxZ()); // in endDragMove
_targetItem->setZ(graph->getMaxZ() + 10.); // in endDragMove
}
const auto rootItem = getGraph()->getContainerItem();
if (rootItem != nullptr) // Project in scene rect (for example if a node is part of a group)
Expand Down

0 comments on commit 0eef270

Please sign in to comment.