mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
The label was always drawn up-and-right of the marker (wx+4, wy-3) and was dropped entirely if it would clip the right edge — so waypoints near the top/bottom (and left) edges had their label spill off the map or vanish. Add an edge-aware placement helper: prefer upper-right, flip to the left when it would clip the right edge, and clamp vertically so edge/corner waypoints keep a visible label. Used by both the normal and degenerate single-point map paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>