The source project of this merge request has been removed.
Add an "Optimal Zoom" option to the canvas view menu.
This automatically picks the right zoom level to make the patch fill the window as much as possible. Also fixes a missing call to pdgui.gui_canvas_get_scroll in the m.view.zoomreset menu command which caused the viewport not to be updated properly after resetting the zoom level in canvas windows.