Enable line annotation label as label sub-element#727
Conversation
kurkle
left a comment
There was a problem hiding this comment.
Took just a quick look on phone. I will try to review properly some other day.
kurkle
left a comment
There was a problem hiding this comment.
Not sure why this.rotation and this.options.rotation need both to be used (and the fallback with || might not work in all cases as expected, specifically when this.rotration is 0)
I thought a little bit more and you're right! This is wrong only when the calculated rotation is 0 and the label options of a line is set to 'auto'. Maybe the best could be to set |
@kurkle I have changed using only |
This PR moves label node of line annotation to sub element.