direct integrals for floatautos, clipboard fix
[goodguy/history.git] / cinelerra-5.1 / cinelerra / editpanel.C
index dadae3d95d80c38676511c413d7f06a0153cd24b..8de70d83341aa62c585592fb4d6cc2d5a0e45fc8 100644 (file)
@@ -442,9 +442,7 @@ void EditPanel::next_edit()
 double EditPanel::get_position()
 {
        EDL *edl = mwindow->edl;
-       return !edl ? 0 :
-               edl->local_session->get_selectionstart(1) +
-                       edl->session->get_frame_offset() / edl->session->frame_rate;
+       return !edl ? 0 : edl->local_session->get_selectionstart(1);
 }
 
 void EditPanel::set_position(double position)
@@ -452,7 +450,6 @@ void EditPanel::set_position(double position)
        EDL *edl = mwindow->edl;
        if( !edl ) return;
        if( position != get_position() ) {
-               position -= edl->session->get_frame_offset() / edl->session->frame_rate;
                if( position < 0 ) position = 0;
                edl->local_session->set_selectionstart(position);
                edl->local_session->set_selectionend(position);