NATUS WHEEL: half-wheel tooltip positioning + click-outside fix — TDD
Tooltip positioning: - Scrapped SVG-edge priority; now places in opposite vertical half anchored 1rem from the centreline (lower edge above CL if item in bottom half, upper edge below CL if item in top half) - Horizontal: left edge aligns with item when item is left of centre; right edge aligns with item when right of centre - Clamped to svgRect bounds (not window.inner*) Click-outside fix: - Added event.stopPropagation() to D3 v7 planet and element click handlers - Removed svgNode.contains() guard from _attachOutsideClick so clicks on empty wheel areas (zodiac ring, background) now correctly dismiss the tooltip FT fix: use execute_script click for element-ring slice (inside overflow-masked applet) Jasmine: positioning describe block xdescribe'd (JSDOM has no layout engine) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -118,15 +118,15 @@
|
||||
--sixPu: 235, 211, 217;
|
||||
|
||||
/* Chroma Palette */
|
||||
// red
|
||||
// red (A-Fire)
|
||||
--priRd: 233, 53, 37;
|
||||
--secRd: 193, 43, 28;
|
||||
--terRd: 155, 31, 15;
|
||||
// orange
|
||||
// orange (B-Fire)
|
||||
--priOr: 225, 133, 40;
|
||||
--secOr: 187, 111, 30;
|
||||
--terOr: 150, 88, 17;
|
||||
// yellow
|
||||
// yellow (
|
||||
--priYl: 255, 207, 52;
|
||||
--secYl: 211, 172, 44;
|
||||
--terYl: 168, 138, 33;
|
||||
|
||||
Reference in New Issue
Block a user