diff options
-rw-r--r-- | src/GipfelWidget.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 7e8cf64..0c4ef08 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -418,6 +418,10 @@ GipfelWidget::set_labels(Hills *v) { continue; } + if (!show_hidden && (n->flags & Hill::HIDDEN)) { + continue; + } + // Check for overlapping labels and // overlaps between labels and peak markers if ((overlap(m->x, m->x + m->label_x, n->x, n->x + n->label_x) && |