markers rework - editor start, dragging

This commit is contained in:
Azgaar 2021-09-19 16:02:22 +03:00 committed by Dranorter
parent 0b14bc864a
commit 6364a2935a
6 changed files with 116 additions and 194 deletions

View file

@ -815,6 +815,7 @@ function parseLoadedData(data) {
const riverPoints = [];
const length = node.getTotalLength() / 2;
if (!length) continue;
const segments = Math.ceil(length / 6);
const increment = length / segments;