refactor offset to displacement

This commit is contained in:
jkonieczny
2019-12-26 21:41:43 +01:00
committed by Andreas Hocevar
parent 4c7f52c8a4
commit 78378f0253
6 changed files with 40 additions and 28 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ function createFeatures(stroke, fill, offSet = [0, 0]) {
points: 4,
radius: 10,
angle: Math.PI / 4,
offset: [-15, 15]
displacement: [-15, 15]
})
}));
vectorSource.addFeature(feature);