From 392714a64bac18c62dbbacf3dd7ddb7d1fc42f23 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Sun, 16 Jan 2022 14:46:27 +0000 Subject: [PATCH] ND: hide hidden waypoints or pseudo-waypoints --- Models/Instruments/ND/canvas/map/WPT-airbus.symbol | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Models/Instruments/ND/canvas/map/WPT-airbus.symbol b/Models/Instruments/ND/canvas/map/WPT-airbus.symbol index 7d00e465..8320f312 100644 --- a/Models/Instruments/ND/canvas/map/WPT-airbus.symbol +++ b/Models/Instruments/ND/canvas/map/WPT-airbus.symbol @@ -79,6 +79,15 @@ var init = func { } var draw = func{ + if (me.model.wp.hidden == 1 or me.model.name == "(DECEL)" or me.model.name == "(T/C)" or me.model.name == "(T/D)" or me.model.name == "(LIM)") { + me.wp_sym.hide(); + me.text_wps.hide(); + if (me.text_alt != nil) { + me.text_alt.hide(); + } + return; + } + var wp_group = me.element; var alt = me.model.alt; var i = me.model.idx;