Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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`.
- Loading branch information