Ulrich-Matthias Schäfer

Results 579 comments of Ulrich-Matthias Schäfer

The corresponding code to this behavior should be in the `calc` function. However as you can see: ```js calc:function (e) { var arr = this.el.array().valueOf(); arr.pop(); if (e) { var...

Mh did you try calling the update function instead of the drawCircle function? I feel like this circle thingy should not be public api.

Update does not expect an argument. Don't pass the points!

I guess I will remove the need to pass any argument to drawCircles. It will just pull the needed points from the element instead. That would make `drawCircles` less confusing...

Well the parameter free version would just draw all points except the last. This would work, wouldn't it?

Nice catch. Just go ahead and fix it. You can edit the file directly in your browser and submit it as pull request :)

the better solution might be to have the set always created so `this.set.each` will not fail even if nothing is in the set

Just get the bounding box of the text by creating a text element and calling getBBox on it

Yes it is needed indeed. Esm modules in node are not widely supported at this point (and with not widely I mean they just were introduced and the support is...

As a sidenode: Even in the esm version there is at least one file `dirname.cjs` that is common js. That is because `import.meta` doesnt work properly yet and i need...