Skip to content

Commit

Permalink
modify default screenshot shortcut to use the accelerator key (#26993)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansampson authored Dec 12, 2024
1 parent d754017 commit c34372a
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 c34372a

Please sign in to comment.