2
0

feat(ui): 💄 Face lift

This commit is contained in:
Baptiste Arnaud
2022-01-19 09:44:21 +01:00
parent f49b5143cf
commit 44b478550f
23 changed files with 306 additions and 136 deletions

View File

@ -291,7 +291,7 @@ export const getEndpointTopOffset = (
const endpointRef = endpoints.byId[id]?.ref
if (!endpointRef) return 0
return (
7 +
8 +
(endpointRef.current?.getBoundingClientRect().top ?? 0) -
graphPosition.y -
headerHeight