From d540687044b863e7d509e6a6b118a09090e5f203 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 10 Apr 2007 15:23:05 +0000 Subject: [PATCH] Fix 1697753: compare times with times, not with frame counts git-svn-id: http://svn.voria.com/code@452 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/canvasinterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp index 9b1f6a9..2b92275 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.cpp @@ -821,10 +821,10 @@ CanvasInterface::seek_frame(int frames) Time newtime(get_time()+(float)frames/fps); newtime=newtime.round(fps); - if(newtime<=get_canvas()->rend_desc().get_frame_start()) - newtime=get_canvas()->rend_desc().get_frame_start(); - if(newtime>=get_canvas()->rend_desc().get_frame_end()) - newtime=get_canvas()->rend_desc().get_frame_end(); + if(newtime<=get_canvas()->rend_desc().get_time_start()) + newtime=get_canvas()->rend_desc().get_time_start(); + if(newtime>=get_canvas()->rend_desc().get_time_end()) + newtime=get_canvas()->rend_desc().get_time_end(); set_time(newtime); } -- 2.7.4