mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
add success z-index
This commit is contained in:
parent
3602b117d1
commit
0d704d1975
|
@ -456,6 +456,10 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
|||
transition: stroke .1s ease-in-out;
|
||||
}
|
||||
|
||||
.jtk-connector.success {
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
/** node endpoints */
|
||||
.jtk-endpoint {
|
||||
z-index:5;
|
||||
|
|
|
@ -2034,10 +2034,21 @@ export default mixins(
|
|||
conn.setPaintStyle(CONNECTOR_PAINT_STYLE_DEFAULT);
|
||||
conn.removeOverlay(OVERLAY_RUN_ITEMS_ID);
|
||||
showOrHideMidpointArrow(conn);
|
||||
|
||||
// @ts-ignore
|
||||
if (conn.canvas) {
|
||||
// @ts-ignore
|
||||
(conn.canvas as Element).classList.remove('success');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
conn.setPaintStyle(CONNECTOR_PAINT_STYLE_SUCCESS);
|
||||
// @ts-ignore
|
||||
if (conn.canvas) {
|
||||
// @ts-ignore
|
||||
(conn.canvas as Element).classList.add('success');
|
||||
}
|
||||
|
||||
if (conn.getOverlay(OVERLAY_RUN_ITEMS_ID)) {
|
||||
conn.removeOverlay(OVERLAY_RUN_ITEMS_ID);
|
||||
|
|
Loading…
Reference in a new issue