Skip to content

Commit 3f3b139

Browse files
AlinaVarkkiDevtools-frontend LUCI CQ
authored andcommitted
[RPP] Rename/move around navigation menu option
Bug: 313757601 Change-Id: If22b4f7bb471970f15baa3b23438c581d1615dff Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6148191 Auto-Submit: Alina Varkki <[email protected]> Commit-Queue: Alina Varkki <[email protected]> Commit-Queue: Jack Franklin <[email protected]> Reviewed-by: Jack Franklin <[email protected]>
1 parent 9ce0d9a commit 3f3b139

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

front_end/panels/timeline/TimelinePanel.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -314,21 +314,21 @@ const UIStrings = {
314314
*/
315315
backToLiveMetrics: 'Go back to the live metrics page',
316316
/**
317-
* @description Description of the Timeline in/out zoom action that appears in the Performance panel shortcuts dialog.
317+
* @description Description of the Timeline up/down scroll action that appears in the Performance panel shortcuts dialog.
318318
*/
319-
timelineZoomInOut: 'Timeline zoom in/out',
319+
timelineScrollUpDown: 'Move up/down',
320320
/**
321-
* @description Description of the Timeline fast in/out zoom action that appears in the Performance panel shortcuts dialog.
321+
* @description Description of the Timeline left/right panning action that appears in the Performance panel shortcuts dialog.
322322
*/
323-
timelineFastZoomInOut: 'Timeline fast zoom in/out',
323+
timelinePanLeftRight: 'Move left/right',
324324
/**
325-
* @description Description of the Timeline up/down scroll action that appears in the Performance panel shortcuts dialog.
325+
* @description Description of the Timeline in/out zoom action that appears in the Performance panel shortcuts dialog.
326326
*/
327-
timelineScrollUpDown: 'Timeline up/down',
327+
timelineZoomInOut: 'Zoom in/out',
328328
/**
329-
* @description Description of the Timeline right/left panning action that appears in the Performance panel shortcuts dialog.
329+
* @description Description of the Timeline fast in/out zoom action that appears in the Performance panel shortcuts dialog.
330330
*/
331-
timelinePanLeftRight: 'Timeline right/left',
331+
timelineFastZoomInOut: 'Fast zoom in/out',
332332
/**
333333
* @description Title for the Dim 3rd Parties checkbox.
334334
*/
@@ -1207,23 +1207,23 @@ export class TimelinePanel extends UI.Panel.Panel implements Client, TimelineMod
12071207
if (isNavClassic) {
12081208
return [
12091209
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: [['Shift', 'Scroll'], ['Shift', '↑/↓']]},
1210+
{title: i18nString(UIStrings.timelinePanLeftRight), bindings: [['Shift', '←/→'], ['A/D']]},
12101211
{title: i18nString(UIStrings.timelineZoomInOut), bindings: [['Scroll'], ['W/S'], ['+/-']]},
12111212
{title: i18nString(UIStrings.timelineFastZoomInOut), bindings: [['Shift', 'W/S'], ['Shift', '+/-']]},
1212-
{title: i18nString(UIStrings.timelinePanLeftRight), bindings: [['Shift', '←/→'], ['A/D']]},
12131213
];
12141214
}
12151215

12161216
return [
12171217
{title: i18nString(UIStrings.timelineScrollUpDown), bindings: [['Scroll'], ['Shift', '↑/↓']]},
1218+
{
1219+
title: i18nString(UIStrings.timelinePanLeftRight),
1220+
bindings: [['Shift', 'Scroll'], ['Shift', '←/→'], ['A/D']],
1221+
},
12181222
{
12191223
title: i18nString(UIStrings.timelineZoomInOut),
12201224
bindings: [[Host.Platform.isMac() ? '⌘' : 'Ctrl', 'Scroll'], ['W/S'], ['+/-']],
12211225
},
12221226
{title: i18nString(UIStrings.timelineFastZoomInOut), bindings: [['Shift', 'W/S'], ['Shift', '+/-']]},
1223-
{
1224-
title: i18nString(UIStrings.timelinePanLeftRight),
1225-
bindings: [['Shift', 'Scroll'], ['Shift', '←/→'], ['A/D']],
1226-
},
12271227
];
12281228
}
12291229

0 commit comments

Comments
 (0)