Skip to content

Commit 04ce869

Browse files
committed
Fix z-order of label and shape.
1 parent 60b75cf commit 04ce869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/brunomnsilva/smartgraph/graphview/SmartGraphVertexNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,10 @@ private void enableDrag() {
500500
isDragging = true;
501501

502502
// Bring the node to the front, together with the label
503+
toFront();
503504
if(hasLabel()) {
504505
getAttachedLabel().toFront();
505506
}
506-
toFront();
507507

508508
mouseEvent.consume();
509509
}

0 commit comments

Comments
 (0)