diff options
author | Harshit Maurya <hmaurya999@gmail.com> | 2020-05-14 03:43:58 +0530 |
---|---|---|
committer | Harshit Maurya <hmaurya999@gmail.com> | 2020-05-16 02:17:43 +0530 |
commit | 99aa12e06eaa07db65026519d5875ee24f33da20 (patch) | |
tree | d0630d433ada747c6c21311f1ef050c2a8a490f3 /src/waveform/renderers/waveformmark.cpp | |
parent | ad104313bd206d1f133d1270c4ee8a91eb162fe1 (diff) |
wwaveformviewer: highlight hovered mark
Diffstat (limited to 'src/waveform/renderers/waveformmark.cpp')
-rw-r--r-- | src/waveform/renderers/waveformmark.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/waveform/renderers/waveformmark.cpp b/src/waveform/renderers/waveformmark.cpp index 5d8e7d1164..cb7fae606b 100644 --- a/src/waveform/renderers/waveformmark.cpp +++ b/src/waveform/renderers/waveformmark.cpp @@ -99,6 +99,7 @@ WaveformMark::WaveformMark(const QString& group, } void WaveformMark::setBaseColor(QColor baseColor) { + m_image = QImage(); m_fillColor = baseColor; m_borderColor = Color::chooseContrastColor(baseColor); m_labelColor = Color::chooseColorByBrightness(baseColor, QColor(255,255,255,255), QColor(0,0,0,255)); |