From 28039a3b419d0447af2ea36f985b4618d1584785 Mon Sep 17 00:00:00 2001 From: williamsyang-work Date: Tue, 19 Jul 2022 18:20:36 +0200 Subject: [PATCH] Zoom into selection range using z Allows user to press z to zoom to current selection. Adds relevant information to keyboard shortcut menu. Signed-off-by: Will Yang --- .../src/components/trace-context-component.tsx | 11 +++++++++++ .../time-graph-navigation-shortcuts-table.tsx | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/packages/react-components/src/components/trace-context-component.tsx b/packages/react-components/src/components/trace-context-component.tsx index e8921b257..d6ad8df02 100644 --- a/packages/react-components/src/components/trace-context-component.tsx +++ b/packages/react-components/src/components/trace-context-component.tsx @@ -434,6 +434,10 @@ export class TraceContextComponent extends React.Component + + Zoom to selected + + Z + +