Update hot layer after expanding/collapsing a group

In this way we can click several times in the same position to
expand/collapse the folder without moving the mouse.
This commit is contained in:
David Capello 2016-06-14 14:11:30 -03:00
parent dba780e28d
commit 530efae6b2

View File

@ -710,6 +710,9 @@ bool Timeline::onProcessMessage(Message* msg)
regenerateLayers();
showCurrentCel();
invalidate();
updateByMousePos(
msg, ui::get_mouse_position() - bounds().origin());
}
}
}