Fixes in Shortcuts dialog and minor refactor (#1297)

This commit is contained in:
Lipis 2020-04-07 14:39:06 +03:00 committed by GitHub
parent e4c154f43e
commit 0c3d34261e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 96 additions and 82 deletions

View file

@ -90,7 +90,7 @@ export const actionZoomIn = register({
<ToolButton
type="button"
icon={zoomIn}
title={`${t("buttons.zoomIn")} ${getShortcutKey("CtrlOrCmd++")}`}
title={`${t("buttons.zoomIn")} ${getShortcutKey("CtrlOrCmd++")}`}
aria-label={t("buttons.zoomIn")}
onClick={() => {
updateData(null);
@ -117,7 +117,7 @@ export const actionZoomOut = register({
<ToolButton
type="button"
icon={zoomOut}
title={`${t("buttons.zoomOut")} ${getShortcutKey("CtrlOrCmd+-")}`}
title={`${t("buttons.zoomOut")} ${getShortcutKey("CtrlOrCmd+-")}`}
aria-label={t("buttons.zoomOut")}
onClick={() => {
updateData(null);