Commit a1fc79be authored by Sathya Gunasekaran's avatar Sathya Gunasekaran Committed by Commit Bot

[tools] Change map details on clicking a map

Bug: v8:10644
Change-Id: I299e95f5a8505205a4942a5a5b04cde36f1e5320
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2565355Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
Commit-Queue: Sathya Gunasekaran  <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71493}
parent 0f1c81d1
......@@ -68,6 +68,7 @@ DOM.defineCustomElement('view/map-panel',
set selectedMapLogEntries(list) {
this.mapTransitionsPanel.selectedMapLogEntries = list;
if (list.length === 1) this.mapDetailsPanel.map = list[0];
}
get selectedMapLogEntries() {
return this.mapTransitionsPanel.selectedMapLogEntries;
......
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