markers rework - editor start, dragging

This commit is contained in:
Azgaar 2021-09-19 16:02:22 +03:00
parent 1023bb0676
commit def32b7f74
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;