TimelineBody Is Zooming again now
This commit is contained in:
parent
540357de9f
commit
d1f07d7088
1 changed files with 9 additions and 0 deletions
|
|
@ -306,6 +306,15 @@ TimelineBody::on_state_changed (shared_ptr<TimelineState> newState)
|
||||||
{
|
{
|
||||||
REQUIRE (newState);
|
REQUIRE (newState);
|
||||||
timelineState = newState;
|
timelineState = newState;
|
||||||
|
if(timelineState)
|
||||||
|
{
|
||||||
|
// Connect up some events
|
||||||
|
viewWindow().changed_signal().connect(
|
||||||
|
sigc::mem_fun(this, &TimelineBody::on_update_view) );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Redraw
|
||||||
|
queue_draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue