Avoid regenerating every node label on redraw

This commit is contained in:
Nick O'Leary
2020-06-13 23:02:10 +01:00
parent 1c30584153
commit 61d9ccf263
2 changed files with 86 additions and 67 deletions

View File

@@ -35,6 +35,14 @@
pointer-events: none;
-webkit-touch-callout: none;
@include disable-selection;
.red-ui-flow-node-label-text {
alignment-baseline: middle;
}
&.red-ui-flow-node-label-right .red-ui-flow-node-label-text {
text-anchor: end;
}
}
.red-ui-flow-port-label {