Commit 66916488 authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[turbolizer] Set sequence and schedule on top of graphmultiview

Allows the use of PageUp and PageDown in sequence and schedule phases.

Since graphmultiview had a tabindex of 0, it was sitting on top of
sequence and schedule. This blocked the use of PageUp and PageDown
to scroll in these phases.

Bug: v8:7327
Change-Id: I4fc129cd9d5ea82e469cd4b67c12a455ec920317
Notry: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1914207Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64947}
parent 5c6ab6cf
......@@ -33,7 +33,7 @@ export class GraphMultiView extends View {
createViewElement() {
const pane = document.createElement("div");
pane.setAttribute("id", multiviewID);
pane.setAttribute("tabindex", "0");
pane.setAttribute("tabindex", "1");
pane.className = "viewpane";
return pane;
}
......
......@@ -13,6 +13,7 @@ export class ScheduleView extends TextView {
const pane = document.createElement('div');
pane.setAttribute('id', "schedule");
pane.classList.add("scrollable");
pane.setAttribute("tabindex", "0");
return pane;
}
......
......@@ -14,6 +14,7 @@ export class SequenceView extends TextView {
const pane = document.createElement('div');
pane.setAttribute('id', "sequence");
pane.classList.add("scrollable");
pane.setAttribute("tabindex", "0");
return pane;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment