add proxy scaler option, add sams icons
[goodguy/history.git] / cinelerra-5.1 / cinelerra / cwindowgui.C
index c3bf4b61b88ddf0a7b491edf3fc4556344853d9f..24a515fa83a3f3ec6009ab7211651dab01990545 100644 (file)
@@ -386,7 +386,7 @@ void CWindowGUI::zoom_canvas(double value, int update_menu)
                x = output_x - cx / zoom;
                y = output_y - cy / zoom;
        }
-       canvas->update_zoom((int)x, (int)y, zoom);
+       canvas->update_zoom((int)(x+0.5), (int)(y+0.5), zoom);
 
        if( update_menu )
                zoom_panel->update(value);