Branch: refs/heads/unstable Home: https://github.com/cytoscape/cytoscape.js Commit: de983eaef7055d264904a829aac969aab0a0acc8 https://github.com/cytoscape/cytoscape.js/commit/de983eaef7055d264904a829aac969aab0a0acc8 Author: Max Franz <maxkfr...@gmail.com> Date: 2020-01-23 (Thu, 23 Jan 2020)
Changed paths: M src/extensions/renderer/base/coord-ele-math/rendered-style.js Log Message: ----------- rendered-style.js : var => let Commit: 5b85ded7b69844af5969126062377cd793d866ea https://github.com/cytoscape/cytoscape.js/commit/5b85ded7b69844af5969126062377cd793d866ea Author: Max Franz <maxkfr...@gmail.com> Date: 2020-01-24 (Fri, 24 Jan 2020) Changed paths: M src/extensions/renderer/base/coord-ele-math/rendered-style.js Log Message: ----------- Renderer-calculated style values for an edge may not be fresh on call to getter #2608 Rendered style is generally recalculated at the start of a frame rather than synchronously at the time of dirtying. This avoids redundant calculations. Further an edge is not explicitly dirtied when at least one of its connected nodes changes in dimensions (position, width, etc.). Instead, it is implicitly marked as dirty via the `cleanConnected` flag on the node. An immediate, synchronous recalculation of rendered style may happen for public functions that read rendered style, such as `edge.midpoint()`. For this case, `recalculateRenderedStyle()` must check whether an edge is implicitly dirty via `cleanConnected`. Compare: https://github.com/cytoscape/cytoscape.js/compare/be6ee1506bcc...5b85ded7b698 -- 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 cytoscape-cvs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/unstable/be6ee1-5b85de%40github.com.