wikipathways / pvjs

JavaScript-based pathway viewer and editor
Apache License 2.0
33 stars 19 forks source link

Zoom level affects non-default node border thickness #427

Open khanspers opened 6 years ago

khanspers commented 6 years ago

Nodes with non-default border thickness are not rendered correctly when first loaded, and are also affected by zoom level. Try zooming this pathway:

http://dev.wikipathways.org/index.php/Pathway:WP3892

Looks like this after loading on dev site (note that labels are somewhat obstructed): screen shot 2017-12-07 at 9 55 51 am

Looks like this after loading on main site: screen shot 2017-12-07 at 9 55 59 am

khanspers commented 6 years ago

Also happens in this pathway, but not as much. Zoom to test. These are double-line node borders with thickness 3.

http://dev.wikipathways.org/index.php/Pathway:WP3893

khanspers commented 6 years ago

Looks like states on nodes are affected by this too, but in a slightly different way. See attached, at the default zoom level. If zoomed in, the state borders eventually look normal, but at the default they are thicker. screen shot 2018-03-22 at 9 42 04 am

khanspers commented 6 years ago

https://www.wikipathways.org/index.php/Pathway:WP4239