mirror of
https://github.com/we-promise/sure.git
synced 2026-04-28 00:14:23 +00:00
* Fix budget donut chart hiding center content on segment hover * Preserve segment hover in center unless leaving the unused arc The unused arc has no interactive link in its center template, so moving from it into the center content should restore default content(including the Edit Budget link) immediately. All other segments have a DS::Link in their center template that must remain clickable after the cursor moves from the arc into the center. Pass the D3 datum into the mouseleave handler to read d.data.id, then clear hover when either (a) the departing segment is the unused arc, or (b) the cursor is not heading into contentContainerTarget.