Hello, 

this small patch causes ctr+mouse-wheel moves trackcanvas horizontally.
I found it very useful and user-friendly :-)

vitas
  @;;

===================================================================
--- trunk/hvirtual/cinelerra/trackcanvas.C     (revision 1009)
+++ trunk/hvirtual/cinelerra/trackcanvas.C     (working copy)
@@ -4955,6 +4955,8 @@
                {
                        if(shift_down())
                                mwindow->expand_sample();
+                       else if(ctrl_down())
+                               mwindow->move_left(get_w() / 10);
                        else
                                mwindow->move_up(get_h() / 10);
                        result = 1;
@@ -4964,6 +4966,8 @@
                {
                        if(shift_down())
                                mwindow->zoom_in_sample();
+                       else if(ctrl_down())
+                               mwindow->move_right(get_w() / 10);
                        else
                                mwindow->move_down(get_h() / 10);
                        result = 1;



-- 
vi hint:
^U (^D) -- skok o pul stranky nahoru (dolu)

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to