Skip to content

Commit

Permalink
modify default shortcut to use the accelerator key
Browse files Browse the repository at this point in the history
This will continue to use Ctrl on Windows, but CMD on macOS.
  • Loading branch information
jonathansampson committed Dec 12, 2024
1 parent 750933f commit ab7eccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chromium_src/chrome/browser/ui/views/accelerator_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
namespace {

constexpr AcceleratorMapping kBraveAcceleratorMap[] = {
{ui::VKEY_S, ui::EF_CONTROL_DOWN | ui::EF_SHIFT_DOWN,
// Ctr+Shift+S (Cmd+Shift+S on Mac)
{ui::VKEY_S, ui::EF_PLATFORM_ACCELERATOR | ui::EF_SHIFT_DOWN,
IDC_SHARING_HUB_SCREENSHOT},
{ui::VKEY_M, ui::EF_CONTROL_DOWN, IDC_TOGGLE_TAB_MUTE},
// Ctrl+B(or Cmd+B)
Expand Down

0 comments on commit ab7eccb

Please sign in to comment.