You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser/Node.js & version : Chrome/128.0.6613.85, Firefox/127.0, Edge/128.0.2739.42
Current (buggy) behaviour
What does the bug do?
When a label has a non-zero rotation and text-valign=top, text-halign=center , then when zoomed out (small label size) the label floats above the correct position. This seems to have to do with the cache?
Desired behaviour
What do you expect Cytoscape.js to do instead?
Label should be consistently aligned with the node as specified by text-valign and text-halign at any rotation or scale.
Environment info
Current (buggy) behaviour
What does the bug do?
When a label has a non-zero rotation and
text-valign=top
,text-halign=center
, then when zoomed out (small label size) the label floats above the correct position. This seems to have to do with the cache?Desired behaviour
What do you expect Cytoscape.js to do instead?
Label should be consistently aligned with the node as specified by
text-valign
andtext-halign
at any rotation or scale.Minimum steps to reproduce
What do you need to do to reproduce the issue?
See: https://output.jsbin.com/tucakeruji/1
Or attached
index.html
In both cases, when zoomed out, we see the issue, when zoomed in, the label is aligned correcty.
For reviewers
Reviewers should ensure that the following tasks are carried out for incorporated issues:
master
,unstable
, and1.1.x
if the current release is 1.2).bug
, if necessary.index.zip
The text was updated successfully, but these errors were encountered: