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)
if (pos < 0) continue;
double scaledPos = pos * m_scale;
if (scaledPos < m_zoomStart || qFloor(scaledPos) > zoomEnd) {
kfrIx++;
continue;
}
if (kfrIx == m_model->activeKeyframe()) {
......
Markdown is supported
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