X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcellrenderer_timetrack.cpp;h=00fafd936cb61a3237841e793c28af3fe28236e1;hb=1f453e8ab546a357781372fe98aa1d004387d4b1;hp=e2ad77a258344575de9ba0f5657e63520a80f33f;hpb=885a2fc3867ddbd88bad4355d787227ab4e8af2e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index e2ad77a..00fafd9 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -313,6 +313,7 @@ CellRenderer_TimeTrack::render_vfunc( Time t_orig = i->get_time(); if(!t_orig.is_valid()) continue; Time t = t_orig - time_offset; + if(tget_lower() || t>adjustment->get_upper()) continue; //if it found it... (might want to change comparison, and optimize // sel_times.find to not produce an overall nlogn solution)