Add Zoom -> Reset Zoom command

This commit is contained in:
smolgumball 2022-01-29 17:24:57 -07:00
parent 9ddb1c4379
commit 0f43b02685

@ -312,6 +312,16 @@ function getMenu(window) {
}
},
},
{
label: "Reset Zoom",
enabled: utils.getZoomFactor() !== 1,
accelerator: "CommandOrControl+num0",
click: () => {
utils.setZoomFactor(window, 1);
refreshMenu(window);
log.log("Reset zoom");
},
},
],
},
{