From 90fcc574f444ae65e873d296ddb4abf107bdc0e9 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 12 Mar 2019 21:41:07 -0700 Subject: [PATCH] chore: add description to accelerator.patch (#17346) --- patches/common/chromium/accelerator.patch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patches/common/chromium/accelerator.patch b/patches/common/chromium/accelerator.patch index 2dd2474efa4c..3a5894c325f5 100644 --- a/patches/common/chromium/accelerator.patch +++ b/patches/common/chromium/accelerator.patch @@ -3,6 +3,12 @@ From: Cheng Zhao Date: Thu, 4 Oct 2018 14:57:02 -0700 Subject: accelerator.patch +This patch makes three changes to Accelerator::GetShortcutText to improve shortcut display text in menus: + +1. Ctrl-Alt- accelerators show as Ctrl-Alt- instead of as Ctrl- +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 index bf214d0b04ea5cf6711cd50618ad843bd054e538..7f245b1e8b9b3c5dc6666be4d74b69c86e80a351 100644