feat(renderer): change layer order, allow zoom on nodes and user selection

This commit is contained in:
Christopher Möller
2020-10-06 13:08:38 +02:00
parent 4f757b86b9
commit 0373b53fc2
4 changed files with 28 additions and 6 deletions
+7 -3
View File
@@ -6,7 +6,7 @@
}
.react-flow__renderer,
.react-flow__zoompane,
.react-flow__pane,
.react-flow__selectionpane {
width: 100%;
height: 100%;
@@ -15,12 +15,16 @@
left: 0;
}
.react-flow__zoompane {
.react-flow__pane {
z-index: 1;
}
.react-flow__renderer {
z-index: 4;
}
.react-flow__selectionpane {
z-index: 2;
z-index: 5;
}
.react-flow__selection {