Closed csabaxyz closed 3 years ago
You forgot $state: "finished", $uuid: "<uuid>"
in the settings.
Yep, that fixed it. Awesome! Sorry for the false alarm. By the way, you are probably one of the most responsive developers I've seen on any project. Thank you for your hard work!
Description
I've been trying to add a line to a chart via LineTool. As far as I can tell this is the correct way:
But this seems to add a single starting point outside of the view, and when I move the mouse around, the line follows until I click (so I assume it is waiting for an end point). The weird part is that if I
console.log
thep1
andp2
values in theLineTool
they both have[null, null]
values, which is enough to pass this condition:But this obviously can't draw anything meaningful like this. I tried to pass other key-values, those seem to carry the original coordinates just fine, so possibly only
p1
andp2
are affected. Although, I couldn't exactly figure out where these values get overwritten.Let me know if I'm trying to use this incorrectly, or if you need more information. Thanks!
Demo
https://tvjs.io/play?a=jooav8h1