From 9ee24d0b0caf1d2eb18d1467eee1461cc09da7bc Mon Sep 17 00:00:00 2001 From: David Lechner Date: Thu, 14 Jan 2021 17:14:19 -0600 Subject: [PATCH] add help with zoom --- src/components/SettingsDrawer.tsx | 12 +++++++++++- src/components/settings-i18n.en.json | 3 +++ src/components/settings-i18n.ts | 1 + src/components/settings.scss | 6 +++++- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/components/SettingsDrawer.tsx b/src/components/SettingsDrawer.tsx index d974d443..611461be 100644 --- a/src/components/SettingsDrawer.tsx +++ b/src/components/SettingsDrawer.tsx @@ -10,6 +10,7 @@ import { closeSettings } from '../actions/app'; import { setBoolean } from '../actions/settings'; import { RootState } from '../reducers'; import { SettingId } from '../settings'; +import { isMacOS } from '../utils/os'; import { SettingsStringId } from './settings-i18n'; import en from './settings-i18n.en.json'; @@ -49,7 +50,16 @@ class SettingsDrawer extends React.PureComponent { onClose={() => onClose()} >
- + {isMacOS() ? 'Cmd' : 'Ctrl'}-+, + out: {isMacOS() ? 'Cmd' : 'Ctrl'}--, + }, + )} + >