X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftimelinepane.C;h=466b5332edf0e771d06010e3282ba318c8c1947d;hp=09455b84d58b7c927949f5e6e7fb345b934a9a72;hb=cb1a1530246ad67fb9be9aa2dbba5b88eb63e933;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/timelinepane.C b/cinelerra-5.1/cinelerra/timelinepane.C index 09455b84..466b5332 100644 --- a/cinelerra-5.1/cinelerra/timelinepane.C +++ b/cinelerra-5.1/cinelerra/timelinepane.C @@ -288,15 +288,13 @@ void TimelinePane::update(int scrollbars, int patchbay) { if(timebar && this->timebar) this->timebar->update(0); - if(scrollbars) - { + if(scrollbars) { if(samplescroll && this->samplescroll) samplescroll->set_position(); if(trackscroll && this->trackscroll) trackscroll->set_position(); } if(patchbay && this->patchbay) this->patchbay->update(); - if(do_canvas) - { + if( do_canvas != NO_DRAW ) { this->canvas->draw(do_canvas, 1); this->cursor->show(); this->canvas->flash(0);