rework keyframe hide popup, keyframe auto render, textbox set_selection wide text
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mwindowmove.C
index b66cf973270bad2cbf9c8a5055ebcc2d54354794..62460c516c58c99cae12444aca599d46cc0722bb 100644 (file)
@@ -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: