mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 05:33:08 +03:00
feat(electron): ctrl+= to zoomin on linux (#8412)
This commit is contained in:
parent
48ebcfc778
commit
6b263d1441
@ -1,6 +1,6 @@
|
||||
import { app, Menu } from 'electron';
|
||||
|
||||
import { isMacOS, isWindows } from '../../shared/utils';
|
||||
import { isMacOS } from '../../shared/utils';
|
||||
import { logger, revealLogFile } from '../logger';
|
||||
import { checkForUpdates } from '../updater';
|
||||
import {
|
||||
@ -113,7 +113,7 @@ export function createApplicationMenu() {
|
||||
{ type: 'separator' },
|
||||
{ role: 'resetZoom' },
|
||||
{ role: 'zoomIn' },
|
||||
...(isWindows()
|
||||
...(!isMacOS()
|
||||
? [{ role: 'zoomIn', accelerator: 'Ctrl+=', visible: false }]
|
||||
: []),
|
||||
{ role: 'zoomOut' },
|
||||
|
Loading…
Reference in New Issue
Block a user