mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 23:31:48 +03:00
parent
2ac803c73f
commit
01e6370dd2
@ -1,6 +1,6 @@
|
|||||||
import { app, Menu } from 'electron';
|
import { app, Menu } from 'electron';
|
||||||
|
|
||||||
import { isMacOS } from '../../shared/utils';
|
import { isMacOS, isWindows } from '../../shared/utils';
|
||||||
import { logger, revealLogFile } from '../logger';
|
import { logger, revealLogFile } from '../logger';
|
||||||
import { checkForUpdates } from '../updater';
|
import { checkForUpdates } from '../updater';
|
||||||
import {
|
import {
|
||||||
@ -113,6 +113,9 @@ export function createApplicationMenu() {
|
|||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{ role: 'resetZoom' },
|
{ role: 'resetZoom' },
|
||||||
{ role: 'zoomIn' },
|
{ role: 'zoomIn' },
|
||||||
|
...(isWindows()
|
||||||
|
? [{ role: 'zoomIn', accelerator: 'Ctrl+=', visible: false }]
|
||||||
|
: []),
|
||||||
{ role: 'zoomOut' },
|
{ role: 'zoomOut' },
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{ role: 'togglefullscreen' },
|
{ role: 'togglefullscreen' },
|
||||||
|
Loading…
Reference in New Issue
Block a user