webgl-operate
webgl-operate copied to clipboard
line anchor in multi-line label based on first line
The line anchor (Label.LineAnchor
) only takes the first line of a label into account. Given a multi-line label, the line anchor Centered
won't vertically center the label at the given point.
Is this desired behaviour, since it is called Lineanchor
and not LabelAnchor
?
Expected the plus ('+') glyph to be more in the vertical middle of the 'target cross'.
Yes this is intended. But we probably should add this, as you suggested, by introducing LabelAnchor
.