mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Flash correct Timeline layer row when a group folder is clicked
This commit is contained in:
parent
aceec4e4d8
commit
56b31c8308
@ -871,6 +871,13 @@ bool Timeline::onProcessMessage(Message* msg)
|
||||
|
||||
setLayerCollapsedFlag(m_clk.layer, m_state == STATE_COLLAPSING_LAYERS);
|
||||
updateByMousePos(msg, ui::get_mouse_position() - bounds().origin());
|
||||
|
||||
// The m_clk might have changed because we've
|
||||
// expanded/collapsed a group just right now (i.e. we've
|
||||
// called regenerateRows())
|
||||
m_clk = m_hot;
|
||||
|
||||
ASSERT(m_rows[m_clk.layer].layer() == layer);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user