Fix Timeline::hotThis() to highlight elements in the timeline correctly

This commit is contained in:
David Capello 2014-11-30 11:25:07 -03:00
parent 1dfb48e068
commit 11041c00b4

View File

@ -1673,12 +1673,8 @@ void Timeline::hotThis(int hot_part, LayerIndex hot_layer, FrameNumber hot_frame
}
// Invalidate the old and new 'hot' thing.
else {
invalidatePart(m_hot_part,
m_hot_layer,
m_hot_frame);
invalidatePart(m_hot_part,
m_hot_layer,
m_hot_frame);
invalidatePart(m_hot_part, m_hot_layer, m_hot_frame);
invalidatePart(hot_part, hot_layer, hot_frame);
}
// Draw the new 'hot' thing.