feat: make hover tooltip follow the cursor

Update hoverPoint on every mouse move while over a part, not just
when the hovered part changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 15:59:14 -04:00
parent 3a97253473
commit 41c20eaf75

View File

@@ -364,8 +364,10 @@ namespace OpenNest.Controls
}
if (hitPart != hoveredPart)
{
hoveredPart = hitPart;
if (hoveredPart != null)
{
hoverPoint = e.Location;
Invalidate();
}