diff --git a/tools/winscope/src/Overlay.vue b/tools/winscope/src/Overlay.vue index 477aa73dd..defa38b10 100644 --- a/tools/winscope/src/Overlay.vue +++ b/tools/winscope/src/Overlay.vue @@ -553,9 +553,15 @@ export default { this.cropIntent = cropIntent; }, changeVideoTimestamp(ts) { + if (!this.$refs.video) { + return; + } this.$refs.video.selectFrameAtTime(ts); }, resetVideoTimestamp() { + if (!this.$refs.video) { + return; + } this.$refs.video.jumpToSelectedIndex(); }, },