Commit 9c32c82f authored by Albert Gräf's avatar Albert Gräf
Browse files

Change keyboard bindings of the zoom/fit functions for better Mac compatibility, fixes #171 for me.

parent 7b218985
......@@ -342,20 +342,20 @@ function create_menu(gui, type) {
if (canvas_menu) {
view_menu.append(m.view.optimalzoom = new gui.MenuItem({
label: l("menu.zoomoptimal"),
key: "0",
modifiers: cmd_or_ctrl + "+alt",
key: "9",
modifiers: cmd_or_ctrl,
tooltip: l("menu.zoomoptimal_tt")
}));
view_menu.append(m.view.horizzoom = new gui.MenuItem({
label: l("menu.zoomhoriz"),
key: "w",
key: "9",
modifiers: cmd_or_ctrl + "+alt",
tooltip: l("menu.zoomhoriz_tt")
}));
view_menu.append(m.view.vertzoom = new gui.MenuItem({
label: l("menu.zoomvert"),
key: "h",
modifiers: cmd_or_ctrl + "+alt",
key: "9",
modifiers: cmd_or_ctrl + "+shift",
tooltip: l("menu.zoomvert_tt")
}));
}
......
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