chore: lint files

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-04-11 20:28:02 +02:00
committed by Braks
parent ab18bbc7d8
commit 5560949ed1
23 changed files with 247 additions and 80 deletions
@@ -85,11 +85,15 @@ until(() => node.initialized)
.then(() => {
const existingBounds = node.handleBounds[type.value]?.find((b) => b.id === handleId.value)
if (!vueFlowRef.value || existingBounds) return
if (!vueFlowRef.value || existingBounds) {
return
}
const viewportNode = vueFlowRef.value.querySelector('.vue-flow__transformationpane')
if (!nodeEl || !handle.value || !viewportNode || !handleId.value) return
if (!nodeEl || !handle.value || !viewportNode || !handleId.value) {
return
}
const nodeBounds = nodeEl.value.getBoundingClientRect()