{
+ junctions.points.slice(1).forEach((j, i) => {
const d = j.sub(prev)
const radius = Math.min(junctions.maxRadius, Math.abs(d.x), Math.abs(d.y))
const signX = Math.sign(d.x)
diff --git a/app/gui2/src/components/GraphEditor/GraphNode.vue b/app/gui2/src/components/GraphEditor/GraphNode.vue
index fe7f8eb6189..78789161964 100644
--- a/app/gui2/src/components/GraphEditor/GraphNode.vue
+++ b/app/gui2/src/components/GraphEditor/GraphNode.vue
@@ -271,6 +271,7 @@ const handlePortClick = useDoubleClick(
--output-port-overlap: 0.2px;
--output-port-hover-width: 8px;
}
+
.outputPort,
.outputPortHoverArea {
x: calc(0px - var(--output-port-width) / 2);
@@ -409,6 +410,7 @@ const handlePortClick = useDoubleClick(
.GraphNode.selected .selection:hover:before {
opacity: 0.3;
}
+
.binding {
user-select: none;
margin-right: 10px;
diff --git a/app/gui2/src/components/GraphEditor/upload.ts b/app/gui2/src/components/GraphEditor/upload.ts
index 28013681808..5aa83db2f70 100644
--- a/app/gui2/src/components/GraphEditor/upload.ts
+++ b/app/gui2/src/components/GraphEditor/upload.ts
@@ -56,9 +56,8 @@ export class Uploader {
position: Vec2,
stackItem: StackItem,
): Promise {
- const projectRootId = await contentRoots.then((roots) =>
- roots.find((root) => root.type == 'Project'),
- )
+ const roots = await contentRoots
+ const projectRootId = roots.find((root) => root.type == 'Project')
if (!projectRootId) throw new Error('Unable to find project root, uploading not possible.')
const instance = new Uploader(
await rpc,
diff --git a/app/gui2/src/components/VisualizationContainer.vue b/app/gui2/src/components/VisualizationContainer.vue
index 57a134d69f4..270f2695a2f 100644
--- a/app/gui2/src/components/VisualizationContainer.vue
+++ b/app/gui2/src/components/VisualizationContainer.vue
@@ -118,7 +118,7 @@ const resizeBottomRight = usePointer((pos, _, type) => {
@pointerdown.stop="config.hide()"
@click="config.hide()"
>
-
+