diff --git a/tools/winscope/src/Overlay.vue b/tools/winscope/src/Overlay.vue index 0f60280ca..f25b1fcf4 100644 --- a/tools/winscope/src/Overlay.vue +++ b/tools/winscope/src/Overlay.vue @@ -81,8 +81,9 @@ @@ -377,7 +378,7 @@ export default { default: const split = this.navigationStyle.split('-'); if (split[0] !== NAVIGATION_STYLE.TARGETED) { - throw new Error('Unexpected nagivation type'); + throw new Error('Unexpected navigation type'); } const fileType = split[1]; @@ -399,7 +400,7 @@ export default { default: const split = this.navigationStyle.split('-'); if (split[0] !== NAVIGATION_STYLE.TARGETED) { - throw new Error('Unexpected nagivation type'); + throw new Error('Unexpected navigation type'); } const fileType = split[1]; @@ -430,12 +431,15 @@ export default { .traces[this.navigationStyle.split('-')[1]]; } - throw new Error('Unexpected Nagivation Style'); + throw new Error('Unexpected Navigation Style'); }, isCropped() { return this.crop != null && (this.crop.left !== 0 || this.crop.right !== 1); }, + multipleTraces() { + return this.timelineFiles.length > 1; + }, }, updated() { this.$nextTick(() => { @@ -594,7 +598,7 @@ export default { default: const split = this.navigationStyle.split('-'); if (split[0] !== NAVIGATION_STYLE.TARGETED) { - throw new Error('Unexpected nagivation type'); + throw new Error('Unexpected navigation type'); } const fileType = split[1]; @@ -821,7 +825,7 @@ export default { margin-top: 4px; } -.nagivation-style-selection-field { +.navigation-style-selection-field { width: 90px; margin-right: 10px; margin-bottom: 0;