fix problem of using opengl transitions with Motion51 when in OpenGL mode
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / zoompanel.C
index 940774694333cb1e1a066cb3e2851c307f61c593..b18186890db59650a8383c7b20d9a772db8a5196 100644 (file)
@@ -244,7 +244,8 @@ double ZoomPanel::text_to_zoom(char *text, int use_table)
                                mwindow->edl->session->sample_rate,
                                mwindow->edl->session->time_format,
                                mwindow->edl->session->frame_rate,
-                               mwindow->edl->session->frames_per_foot);
+                               mwindow->edl->session->frames_per_foot,
+                               mwindow->get_timecode_offset());
                        total_samples /= mwindow->theme->mcanvas_w -
                                mwindow->theme->patchbay_w -
                                BC_ScrollBar::get_span(SCROLL_VERT);
@@ -271,6 +272,8 @@ ZoomPopup::ZoomPopup(MWindow *mwindow, ZoomPanel *panel, int x, int y)
 {
        this->mwindow = mwindow;
        this->panel = panel;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Compositor Controls");
 }
 
 ZoomPopup::~ZoomPopup()
@@ -291,6 +294,8 @@ ZoomTumbler::ZoomTumbler(MWindow *mwindow, ZoomPanel *panel, int x, int y)
 {
        this->mwindow = mwindow;
        this->panel = panel;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Compositor Controls");
 }
 
 ZoomTumbler::~ZoomTumbler()