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 { ...@@ -33,7 +33,7 @@ export class GraphMultiView extends View {
createViewElement() { createViewElement() {
const pane = document.createElement("div"); const pane = document.createElement("div");
pane.setAttribute("id", multiviewID); pane.setAttribute("id", multiviewID);
pane.setAttribute("tabindex", "0"); pane.setAttribute("tabindex", "1");
pane.className = "viewpane"; pane.className = "viewpane";
return pane; return pane;
} }
......
...@@ -13,6 +13,7 @@ export class ScheduleView extends TextView { ...@@ -13,6 +13,7 @@ export class ScheduleView extends TextView {
const pane = document.createElement('div'); const pane = document.createElement('div');
pane.setAttribute('id', "schedule"); pane.setAttribute('id', "schedule");
pane.classList.add("scrollable"); pane.classList.add("scrollable");
pane.setAttribute("tabindex", "0");
return pane; return pane;
} }
......
...@@ -14,6 +14,7 @@ export class SequenceView extends TextView { ...@@ -14,6 +14,7 @@ export class SequenceView extends TextView {
const pane = document.createElement('div'); const pane = document.createElement('div');
pane.setAttribute('id', "sequence"); pane.setAttribute('id', "sequence");
pane.classList.add("scrollable"); pane.classList.add("scrollable");
pane.setAttribute("tabindex", "0");
return pane; 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