Fix expand/collapse all shortcut in search panel on Mac
Fix expand/collapse all shortcut in search panel on Mac

It turns out using `e.key` is tricky for checking whether the shortcut
is enabled. `e.code` fits better for our use case

Bug: chromium:1255073
Change-Id: I3084c6d413670f1087cb5f03ead72ed38636c182
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3300366
Reviewed-by: Jack Franklin <993fcadce4d04090da2fefd557a0995e7966c8d5@chromium.org>
Commit-Queue: Ergün Erdoğmuş <83732cefebc70768faf466c30445921d3e357a21@google.com>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend