Skip to content

Commit

Permalink
chore: add description to accelerator.patch (#17346)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored and deepak1556 committed Mar 13, 2019
1 parent 8629123 commit 90fcc57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions patches/common/chromium/accelerator.patch
Expand Up @@ -3,6 +3,12 @@ From: Cheng Zhao <zcbenz@gmail.com>
Date: Thu, 4 Oct 2018 14:57:02 -0700 Date: Thu, 4 Oct 2018 14:57:02 -0700
Subject: accelerator.patch Subject: accelerator.patch


This patch makes three changes to Accelerator::GetShortcutText to improve shortcut display text in menus:

1. Ctrl-Alt-<Key> accelerators show as Ctrl-Alt-<Key> instead of as Ctrl-<Key>
2. F2-F24 accelerators show up as such
3. Ctrl-Shift-= should show as Ctrl-+



diff --git a/ui/base/accelerators/accelerator.cc b/ui/base/accelerators/accelerator.cc diff --git a/ui/base/accelerators/accelerator.cc b/ui/base/accelerators/accelerator.cc
index bf214d0b04ea5cf6711cd50618ad843bd054e538..7f245b1e8b9b3c5dc6666be4d74b69c86e80a351 100644 index bf214d0b04ea5cf6711cd50618ad843bd054e538..7f245b1e8b9b3c5dc6666be4d74b69c86e80a351 100644
Expand Down

0 comments on commit 90fcc57

Please sign in to comment.