Branch: refs/heads/3.4.x
Home: https://github.com/cytoscape/cytoscape.js
Commit: b6cbb4011a7369ff74aab36eef3832ecb73377f4
https://github.com/cytoscape/cytoscape.js/commit/b6cbb4011a7369ff74aab36eef3832ecb73377f4
Author: Max Franz <[email protected]>
Date: 2019-04-16 (Tue, 16 Apr 2019)
Changed paths:
M src/collection/dimensions/bounds.js
Log Message:
-----------
Backport 3.4.x : Compound node bounds including hidden children (regression)
#2362 #2355
The children used to calculate the bounds of the parent should not include
nodes that take up no space. It may make sense in future to remove the zero
width and height conditions for the internal `ele.takesUpSpace()` function. We
can't use it here, because calling `height()` or `width()` causes infinite
recursion. The zero width and height cases aren't that important generally, so
maybe this could be revised further for a feature release.
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.