Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Guess reasonable defaults for new edges
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielv123 committed May 19, 2024
1 parent 879137b commit 235178c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web/components/InputEdgeConfig.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ export function InputEdgeConfig({ fieldDefinition, value, onChange }) {
setNewValue({
...newValue, edges: [
...edges,
{},
{
surface: 1,
origin: [0, 0],
direction: 0,
length: 10,
},
],
});
}}>
Expand Down

0 comments on commit 235178c

Please sign in to comment.