X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcellrenderer_timetrack.cpp;h=00fafd936cb61a3237841e793c28af3fe28236e1;hb=e80b4d10c19c3a890aae535facee1c934bea16ce;hp=5dfef79188c601180a54f544c51746cc79866be7;hpb=6204b47351d21c0dcde44b4a877a937dd14eb0dd;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index 5dfef79..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) @@ -765,11 +766,7 @@ CellRenderer_TimeTrack::activate_vfunc( } if(clickfound && node) - signal_waypoint_clicked_cellrenderer_(node, - stime, - time_offset, - 2, - actual_time+time_offsetbutton.button==3 && selection) { - signal_waypoint_clicked_cellrenderer_(path,*selected_waypoint,event->button.button-1); + signal_waypoint_clicked_cellrenderer()(path,*selected_waypoint,event->button.button-1); return true; } */ @@ -848,7 +845,7 @@ CellRenderer_TimeTrack::activate_vfunc( /*if(value_node && selection) { if(selected_time==drag_time && event->button.button!=3) - signal_waypoint_clicked_cellrenderer_(path,*selected_waypoint,event->button.button-1); + signal_waypoint_clicked_cellrenderer()(path,*selected_waypoint,event->button.button-1); else if(event->button.button==1) {