Commit bab22574 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'prakhar/purr-data-def_zoom_out' into emscripten

parents b0cf108a 44a58c76
Pipeline #3596 failed with stage
in 106 minutes and 51 seconds
......@@ -36,7 +36,6 @@
<!-- View Section -->
<li id="menu-view">
<ul class="rounded shadow">
<li id="view-zoomout"></li>
<li id="view-zoomreset"></li>
<li id="view-fullscreen"></li>
</ul>
......
......@@ -110,12 +110,6 @@ function menu_options(type, w, cid) {
},
// View entries
"view-zoomout": {
label: l("menu.zoomout"),
key: pdbundle.shortcuts.menu.zoomout_web.key,
modifiers: pdbundle.shortcuts.menu.zoomout_web.modifiers,
tooltip: l("menu.zoomout_tt")
},
"view-zoomreset": {
label: l("menu.zoomreset"),
key: pdbundle.shortcuts.menu.zoomreset_web.key,
......@@ -436,6 +430,12 @@ function menu_options(type, w, cid) {
modifiers: pdbundle.shortcuts.menu.zoomin_web.modifiers,
tooltip: l("menu.zoomin_tt")
},
"view-zoomout": {
label: l("menu.zoomout"),
key: pdbundle.shortcuts.menu.zoomout_web.key,
modifiers: pdbundle.shortcuts.menu.zoomout_web.modifiers,
tooltip: l("menu.zoomout_tt")
},
...view_base,
// View entries
......
......@@ -183,7 +183,7 @@ function add_shortcuts(cid){
if(window.shortkeys[cid].hasOwnProperty(shortcut)){
switch(shortcut) {
case "Ctrl+=":
break;
case "Ctrl+-":
case "F11":
break;
default:
......
Markdown is supported
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