labels follow edits fix, group only ungrouped edits, add reset to 7 plugins, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / timelinepane.C
index 09455b84d58b7c927949f5e6e7fb345b934a9a72..466b5332edf0e771d06010e3282ba318c8c1947d 100644 (file)
@@ -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);