1
0
Fork 0

ND: hide hidden waypoints or pseudo-waypoints

This commit is contained in:
Jonathan Redpath 2022-01-16 14:46:27 +00:00
parent 72f7f7f819
commit 392714a64b

View file

@ -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;