[MM-44931] Allow zoom in/out when Shift is pressed (#2178)
* Add hidden menuitems for zoomIn zoomOut with shift * Add e2e tests for zoom in/out with shift * Fix e2e tests * Add missing async * Fix lint errors * Put tests inside describes * Fix lint errors * Update e2e/specs/menu_bar/view_menu.test.js Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> * Update e2e/specs/menu_bar/view_menu.test.js Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Co-authored-by: Devin Binnie <52460000+devinbinnie@users.noreply.github.com>
This commit is contained in:
@@ -131,9 +131,17 @@ export function createTemplate(config: Config, updateManager: UpdateManager) {
|
||||
}, {
|
||||
role: 'zoomIn',
|
||||
accelerator: 'CmdOrCtrl+=',
|
||||
}, {
|
||||
role: 'zoomIn',
|
||||
visible: false,
|
||||
accelerator: 'CmdOrCtrl+Shift+=',
|
||||
}, {
|
||||
role: 'zoomOut',
|
||||
accelerator: 'CmdOrCtrl+-',
|
||||
}, {
|
||||
role: 'zoomOut',
|
||||
visible: false,
|
||||
accelerator: 'CmdOrCtrl+Shift+-',
|
||||
}, separatorItem, {
|
||||
label: 'Developer Tools for Application Wrapper',
|
||||
accelerator: (() => {
|
||||
|
Reference in New Issue
Block a user