Add Z_WAYPOINT_HIGHLIGHTED (1200) for hovered waypoint markers

Highlighted waypoints now render above normal waypoints (1000) but
below POI markers (1500) and the elevation highlight dot (2000).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 01:51:39 +02:00
parent 337df6b527
commit 729b33a15f
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 4 additions and 3 deletions

View file

@ -5,8 +5,9 @@
* Rendering order (bottom to top):
* POI markers cursor markers ghost waypoint waypoint markers highlight dot
*/
export const Z_POI_MARKER = -1000;
export const Z_CURSOR = -1000;
export const Z_GHOST_WAYPOINT = -100;
export const Z_WAYPOINT = 1000;
export const Z_WAYPOINT_HIGHLIGHTED = 1200;
export const Z_POI_MARKER = 1500;
export const Z_HIGHLIGHT = 2000;