feat(canvas-v3): P1 单层 canvas 命中,移除每节点 proxy/端口 DOM
This commit is contained in:
1 parent
1d40e74ead
commit
84d2c1d896
15 files changed
+173
-38
No files matched your search
@@ -34,8 +34,6 @@ button { font-family: inherit; }
|
||||
.iwb-edges { position: absolute; left: 0; top: 0; pointer-events: none; }
|
||||
.iwb-edge-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
.iwb-node-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
.iwb-node-hit-proxy { position: absolute; left: 0; top: 0; background: transparent; border: 0; pointer-events: auto; cursor: grab; }
|
||||
.iwb-node-hit-proxy:active { cursor: grabbing; }
|
||||
.iwb-edge-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; cursor: pointer; }
|
||||
.iwb-edge-hit:hover { stroke: color-mix(in srgb, var(--iwb-brand) 16%, transparent); }
|
||||
.iwb-edge-hit:hover + .iwb-edge { stroke-width: calc(var(--iwb-edge-w) + 0.6px); stroke: var(--iwb-edge-hot); }
|
||||
|
||||
Reference in new issue
Block a user