Commit b041e67f authored by Julius Künzel's avatar Julius Künzel
Browse files

[Effect Keyframes] Fix wrong keyframes shown as selected

parent 44a05018
...@@ -717,6 +717,7 @@ void KeyframeView::paintEvent(QPaintEvent *event) ...@@ -717,6 +717,7 @@ void KeyframeView::paintEvent(QPaintEvent *event)
if (pos < 0) continue; if (pos < 0) continue;
double scaledPos = pos * m_scale; double scaledPos = pos * m_scale;
if (scaledPos < m_zoomStart || qFloor(scaledPos) > zoomEnd) { if (scaledPos < m_zoomStart || qFloor(scaledPos) > zoomEnd) {
kfrIx++;
continue; continue;
} }
if (kfrIx == m_model->activeKeyframe()) { if (kfrIx == m_model->activeKeyframe()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment