diff options
author | Be <be@mixxx.org> | 2019-09-02 07:19:20 -0500 |
---|---|---|
committer | Be <be@mixxx.org> | 2019-09-02 07:19:20 -0500 |
commit | ef726090a31235615ab8d0351e7dc1722bf4ff41 (patch) | |
tree | db25318a65ce5c6e16c5c2d3c76d2f2382870890 | |
parent | 2e1e11aabe7443b112583fa9af82a7c78111af74 (diff) |
WOverview: don't draw MarkRange labels when they should be hidden
-rw-r--r-- | src/widget/woverview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/woverview.cpp b/src/widget/woverview.cpp index 78133d9369..fb9311a41e 100644 --- a/src/widget/woverview.cpp +++ b/src/widget/woverview.cpp @@ -950,7 +950,7 @@ void WOverview::drawMarkLabels(QPainter* pPainter, const float offset, const flo // draw duration of WaveformMarkRanges for (auto&& markRange : m_markRanges) { - if (markRange.showDuration()) { + if (markRange.showDuration() && markRange.active() && markRange.visible()) { // Active mark ranges by definition have starts/ends that are not // disabled. const qreal startValue = markRange.start(); |