Refactor overlay to allow translation

This commit is contained in:
Iván Ovejero
2021-11-19 16:15:35 +01:00
parent ed4f9a5e68
commit ed3fa11a86
4 changed files with 17 additions and 17 deletions

View File

@@ -112,18 +112,6 @@ export const CONNECTOR_ARROW_OVERLAYS: OverlaySpec[] = [
],
];
export const CONNECTOR_DROP_NODE_OVERLAY: OverlaySpec[] = [
[
'Label',
{
id: OVERLAY_DROP_NODE_ID,
label: 'Drop connection<br />to add node',
cssClass: 'drop-add-node-label',
location: 0.5,
visible: true,
},
],
];
export const ANCHOR_POSITIONS: {