Commit 72cf26a7 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

check scroll bars after zooming the canvas

parent 3d391c39
......@@ -1303,6 +1303,7 @@ function nw_create_patch_window_menus(gui, w, name) {
var z = gui.Window.get().zoomLevel;
if (z < 8) { z++; }
gui.Window.get().zoomLevel = z;
pdgui.gui_canvas_get_scroll(name);
}
});
minit(m.view.zoomout, {
......@@ -1311,6 +1312,7 @@ function nw_create_patch_window_menus(gui, w, name) {
var z = gui.Window.get().zoomLevel;
if (z > -7) { z--; }
gui.Window.get().zoomLevel = z;
pdgui.gui_canvas_get_scroll(name);
}
});
minit(m.view.zoomreset, {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment