X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowmove.C;fp=cinelerra-5.1%2Fcinelerra%2Fmwindowmove.C;h=62460c516c58c99cae12444aca599d46cc0722bb;hp=b66cf973270bad2cbf9c8a5055ebcc2d54354794;hb=dab459d8fcf93c377836bc30a1c4bc5505b79323;hpb=ea0f83a2b769f440ac637ceee4fca5ea85340cdf diff --git a/cinelerra-5.1/cinelerra/mwindowmove.C b/cinelerra-5.1/cinelerra/mwindowmove.C index b66cf973..62460c51 100644 --- a/cinelerra-5.1/cinelerra/mwindowmove.C +++ b/cinelerra-5.1/cinelerra/mwindowmove.C @@ -190,6 +190,12 @@ void MWindow::fit_autos(int doall) max = floor(max*200)/100; } break; + case AUTOGROUPTYPE_SPEED: + if (range < 0.001) { + min = floor(min*5)/100; + max = floor(max*300)/100; + } + break; case AUTOGROUPTYPE_X: case AUTOGROUPTYPE_Y: if (range < 5) { @@ -233,6 +239,7 @@ void MWindow::change_currentautorange(int autogrouptype, int increment, int chan val += 1; break; case AUTOGROUPTYPE_ZOOM: + case AUTOGROUPTYPE_SPEED: if (val == 0) val = 0.001; else @@ -254,6 +261,7 @@ void MWindow::change_currentautorange(int autogrouptype, int increment, int chan val -= 1; break; case AUTOGROUPTYPE_ZOOM: + case AUTOGROUPTYPE_SPEED: if (val > 0) val = val/2; break; case AUTOGROUPTYPE_X: