fix: correct event listeners in examples

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent c3fb3cd10a
commit fede792a37
8 changed files with 57 additions and 21 deletions
+24
View File
@@ -22,6 +22,30 @@ const offsets = [
x: nodeGapWidth,
y: -nodeGapWidth,
},
{
x: nodeGapWidth,
y: 0,
},
{
x: nodeGapWidth,
y: nodeGapWidth,
},
{
x: 0,
y: nodeGapWidth,
},
{
x: -nodeGapWidth,
y: nodeGapWidth,
},
{
x: -nodeGapWidth,
y: 0,
},
{
x: -nodeGapWidth,
y: -nodeGapWidth,
},
]
let id = 0