Commit b4226ceb authored by George Wort's avatar George Wort Committed by Commit Bot

[turbolizer] Hide show-hide-ranges on load

Hide the arrow button div for snapping the live range
panel when a new file is loaded.

Bug: v8:7327
Change-Id: I576444f12a0557cc6716eb0214586b54a042a899
Notry: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2224838Reviewed-by: 's avatarSantiago Aboy Solanes <solanes@chromium.org>
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68087}
parent 780a495c
...@@ -50,6 +50,7 @@ window.onload = function () { ...@@ -50,6 +50,7 @@ window.onload = function () {
multiview = null; multiview = null;
document.getElementById("ranges").innerHTML = ''; document.getElementById("ranges").innerHTML = '';
document.getElementById('ranges').style.visibility = "hidden"; document.getElementById('ranges').style.visibility = "hidden";
document.getElementById('show-hide-ranges').style.visibility = "hidden";
if (disassemblyView) disassemblyView.hide(); if (disassemblyView) disassemblyView.hide();
sourceViews = []; sourceViews = [];
sourceResolver = new SourceResolver(); sourceResolver = new SourceResolver();
......
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